public class JNDIRequest extends java.lang.Object implements ClusterableRequest
Constructor and Description |
---|
JNDIRequest() |
JNDIRequest(RequestMethodCode requestMethod,
java.lang.String requestString) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModuleId() |
RequestMethodCode |
getRequestMethod() |
java.lang.String |
getRequestString() |
RequestType |
getRequestType() |
int |
getServerHash() |
void |
readExternal(java.io.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(java.lang.String moduleId) |
void |
setRequestMethod(RequestMethodCode requestMethod) |
void |
setRequestString(java.lang.String requestString) |
void |
setServerHash(int serverHash) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out)
Changes to this method must observe the optional
metaData version |
public JNDIRequest()
public JNDIRequest(RequestMethodCode requestMethod, java.lang.String requestString)
public void setMetaData(ProtocolMetaData metaData)
Request
setMetaData
in interface Request
metaData
- ProtocolMetaDatapublic RequestType getRequestType()
getRequestType
in interface Request
public RequestMethodCode getRequestMethod()
public java.lang.String getRequestString()
public java.lang.String getModuleId()
public void setModuleId(java.lang.String moduleId)
public void setRequestMethod(RequestMethodCode requestMethod)
public void setRequestString(java.lang.String requestString)
public void setServerHash(int serverHash)
setServerHash
in interface ClusterableRequest
public int getServerHash()
getServerHash
in interface ClusterableRequest
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
metaData
versionreadExternal
in interface java.io.Externalizable
readExternal
in interface Request
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
metaData
versionwriteExternal
in interface java.io.Externalizable
writeExternal
in interface Request
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object