|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INKFRequestReadOnly
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 java.lang.String |
URI_SYSTEM
the URI for system arguments |
| Method Summary | |
|---|---|
boolean |
argumentExists(java.lang.String aName)
Return true if the given argument is available on the request |
java.lang.String |
getActiveType()
Return the base of the active URI |
java.lang.String |
getArgument(java.lang.String aName)
Return the URI of the given argument, null if it doesn't exist. |
java.util.Iterator |
getArguments()
Return an iterator over a set of argument names (String) |
IURRepresentation |
getArgumentValue(java.lang.String aURI)
Return the value of a by-value argument, null if the argument does not exist. |
java.lang.Class |
getAspectClass()
Return the aspect class that the client expects in the response |
java.lang.String |
getCWU()
Return the current working URI of the request |
java.lang.String |
getFragment()
Return a fragment on the URI, null if none |
int |
getRequestType()
Return the request type (one the static final int constants) |
java.lang.String |
getURI()
Return the URI of the request |
java.lang.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 |
|---|
static final int RQT_SOURCE
static final int RQT_SINK
static final int RQT_EXISTS
static final int RQT_DELETE
static final int RQT_NEW
static final int RQT_TRANSREPRESENT
static final int RQT_FRAGMENT
static final java.lang.String URI_SYSTEM
| Method Detail |
|---|
int getRequestType()
java.lang.String getURI()
java.lang.String getFragment()
java.lang.String getURIWithoutFragment()
java.lang.String getCWU()
java.lang.Class getAspectClass()
boolean isActiveURI()
java.lang.String getActiveType()
java.util.Iterator getArguments()
boolean argumentExists(java.lang.String aName)
aName - java.lang.String getArgument(java.lang.String aName)
aName - IURRepresentation getArgumentValue(java.lang.String aURI)
aURI -
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||