|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Read/Only Wrapper around the calling request that initiated the invocation of the accessor
Field Summary | |
static int |
RQT_DELETE
a request to delete a resource |
static int |
RQT_EXISTS
a request to see if a resource exists |
static int |
RQT_FRAGMENT
a request to fragment a resource |
static int |
RQT_NEW
a request to create a new resource |
static int |
RQT_SINK
a request to set the data for a URI |
static int |
RQT_SOURCE
a request to get the data for a URI |
static int |
RQT_TRANSREPRESENT
a request to transpresent data for a resource to a new aspect |
static String |
URI_SYSTEM
the URI for system arguments |
Method Summary | |
boolean |
argumentExists(String aName)
Return true if the given argument is available on the request |
String |
getActiveType()
Return the base of the active URI |
String |
getArgument(String aName)
Return the URI of the given argument, null if it doesn't exist. |
Iterator |
getArguments()
Return an iterator over a set of argument names (String) |
IURRepresentation |
getArgumentValue(String aURI)
Return the value of a by-value argument, null if the argument does not exist. |
Class |
getAspectClass()
Return the aspect class that the client expects in the response |
String |
getCWU()
Return the current working URI of the request |
String |
getFragment()
Return a fragment on the URI, null if none |
int |
getRequestType()
Return the request type (one the static final int constants) |
String |
getURI()
Return the URI of the request |
String |
getURIWithoutFragment()
Return the URI of the request without the fragment (if any) |
boolean |
isActiveURI()
Return true if the URI is in the form of an active URI with named arguments |
Field Detail |
public static final int RQT_SOURCE
public static final int RQT_SINK
public static final int RQT_EXISTS
public static final int RQT_DELETE
public static final int RQT_NEW
public static final int RQT_TRANSREPRESENT
public static final int RQT_FRAGMENT
public static final String URI_SYSTEM
Method Detail |
public int getRequestType()
public String getURI()
public String getFragment()
public String getURIWithoutFragment()
public String getCWU()
public Class getAspectClass()
public boolean isActiveURI()
public String getActiveType()
public Iterator getArguments()
public boolean argumentExists(String aName)
aName
- public String getArgument(String aName)
aName
- public IURRepresentation getArgumentValue(String aURI)
aURI
-
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |