public class JNDIRequest extends Object implements ClusterableRequest
| Constructor and Description |
|---|
JNDIRequest() |
JNDIRequest(RequestMethodCode requestMethod,
String requestString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleId() |
RequestMethodCode |
getRequestMethod() |
String |
getRequestString() |
RequestType |
getRequestType() |
int |
getServerHash() |
void |
readExternal(ObjectInput in)
Changes to this method must observe the optional
metaData version |
void |
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for versioned requests
|
void |
setModuleId(String moduleId) |
void |
setRequestMethod(RequestMethodCode requestMethod) |
void |
setRequestString(String requestString) |
void |
setServerHash(int serverHash) |
String |
toString() |
void |
writeExternal(ObjectOutput out)
Changes to this method must observe the optional
metaData version |
public JNDIRequest()
public JNDIRequest(RequestMethodCode requestMethod, String requestString)
public void setMetaData(ProtocolMetaData metaData)
RequestsetMetaData in interface RequestmetaData - ProtocolMetaDatapublic RequestType getRequestType()
getRequestType in interface Requestpublic RequestMethodCode getRequestMethod()
public String getRequestString()
public String getModuleId()
public void setModuleId(String moduleId)
public void setRequestMethod(RequestMethodCode requestMethod)
public void setRequestString(String requestString)
public void setServerHash(int serverHash)
setServerHash in interface ClusterableRequestpublic int getServerHash()
getServerHash in interface ClusterableRequestpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
metaData versionreadExternal in interface ExternalizablereadExternal in interface RequestIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
metaData versionwriteExternal in interface ExternalizablewriteExternal in interface RequestIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.