|
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
public class 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(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 |
| 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 java.lang.Class getAspectClass()
INKFRequestReadOnly
getAspectClass in interface INKFRequestReadOnlypublic java.lang.String getCWU()
INKFRequestReadOnly
getCWU in interface INKFRequestReadOnlypublic int getRequestType()
INKFRequestReadOnly
getRequestType in interface INKFRequestReadOnlypublic java.lang.String getURI()
INKFRequestReadOnly
getURI in interface INKFRequestReadOnlypublic java.lang.String getFragment()
INKFRequestReadOnly
getFragment in interface INKFRequestReadOnlypublic java.lang.String getURIWithoutFragment()
INKFRequestReadOnly
getURIWithoutFragment in interface INKFRequestReadOnlypublic boolean isActiveURI()
INKFRequestReadOnly
isActiveURI in interface INKFRequestReadOnlypublic java.lang.String getActiveType()
INKFRequestReadOnly
getActiveType in interface INKFRequestReadOnlypublic boolean argumentExists(java.lang.String aName)
INKFRequestReadOnly
argumentExists in interface INKFRequestReadOnlypublic java.lang.String getArgument(java.lang.String aName)
INKFRequestReadOnly
getArgument in interface INKFRequestReadOnlypublic java.util.Iterator getArguments()
INKFRequestReadOnly
getArguments in interface INKFRequestReadOnlypublic IURRepresentation getArgumentValue(java.lang.String aURI)
INKFRequestReadOnly
getArgumentValue in interface INKFRequestReadOnly
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||