|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.nkf.impl.NKFRequestReadOnlyImpl
Wrapper around the request that initiated the invocation of the accessor
Field Summary |
Fields inherited from interface org.ten60.netkernel.layer1.nkf.INKFRequestReadOnly |
RQT_DELETE, RQT_EXISTS, RQT_FRAGMENT, RQT_NEW, RQT_SINK, RQT_SOURCE, RQT_TRANSREPRESENT, URI_SYSTEM |
Constructor Summary | |
NKFRequestReadOnlyImpl(URRequest aRequest)
Creates a new instance of NKFRequestReadOnlyImpl |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NKFRequestReadOnlyImpl(URRequest aRequest)
Method Detail |
public Class getAspectClass()
INKFRequestReadOnly
getAspectClass
in interface INKFRequestReadOnly
public String getCWU()
INKFRequestReadOnly
getCWU
in interface INKFRequestReadOnly
public int getRequestType()
INKFRequestReadOnly
getRequestType
in interface INKFRequestReadOnly
public String getURI()
INKFRequestReadOnly
getURI
in interface INKFRequestReadOnly
public String getFragment()
INKFRequestReadOnly
getFragment
in interface INKFRequestReadOnly
public String getURIWithoutFragment()
INKFRequestReadOnly
getURIWithoutFragment
in interface INKFRequestReadOnly
public boolean isActiveURI()
INKFRequestReadOnly
isActiveURI
in interface INKFRequestReadOnly
public String getActiveType()
INKFRequestReadOnly
getActiveType
in interface INKFRequestReadOnly
public boolean argumentExists(String aName)
INKFRequestReadOnly
argumentExists
in interface INKFRequestReadOnly
aName
- public String getArgument(String aName)
INKFRequestReadOnly
getArgument
in interface INKFRequestReadOnly
aName
- public Iterator getArguments()
INKFRequestReadOnly
getArguments
in interface INKFRequestReadOnly
public IURRepresentation getArgumentValue(String aURI)
INKFRequestReadOnly
getArgumentValue
in interface INKFRequestReadOnly
aURI
-
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |