public class IntermediateResponseImpl extends AbstractResultResponse implements IntermediateResponse
| Modifier and Type | Field and Description |
|---|---|
protected String |
responseName
ResponseName for the intermediate response
|
protected byte[] |
responseValue
Response Value for the intermediate response
|
(package private) static long |
serialVersionUID |
private static MessageTypeEnum |
TYPE
Intermediate response message type enumeration value
|
ldapResultcontrols| Constructor and Description |
|---|
IntermediateResponseImpl(int id)
Creates a new IntermediateResponseImpl instance
|
IntermediateResponseImpl(int id,
String responseName)
Creates an IntermediateResponseImpl instance
|
IntermediateResponseImpl(String responseName)
Creates an IntermediateResponseImpl instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks to see if an object equals this IntemediateResponse.
|
String |
getResponseName()
Gets the OID uniquely identifying this Intermediate response (a.k.a.
|
byte[] |
getResponseValue()
Gets the reponseName specific encoded
|
int |
hashCode() |
void |
setResponseName(String oid)
Sets the OID uniquely identifying this Intermediate response (a.k.a.
|
void |
setResponseValue(byte[] value)
Sets the response value
|
String |
toString()
Get a String representation of an IntermediateResponse
|
getLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdstatic final long serialVersionUID
protected String responseName
private static final MessageTypeEnum TYPE
protected byte[] responseValue
public IntermediateResponseImpl(String responseName)
responseName - the IntermediateResponse's namepublic IntermediateResponseImpl(int id,
String responseName)
id - the session unique message idresponseName - the IntermediateResponse's namepublic IntermediateResponseImpl(int id)
id - The request IDpublic byte[] getResponseValue()
getResponseValue in interface IntermediateResponsepublic void setResponseValue(byte[] value)
setResponseValue in interface IntermediateResponsevalue - the response value.public String getResponseName()
getResponseName in interface IntermediateResponsepublic void setResponseName(String oid)
setResponseName in interface IntermediateResponseoid - the OID of the Intermediate response type.public int hashCode()
hashCode in class AbstractResultResponseObject.hashCode()public boolean equals(Object obj)
equals in class AbstractResultResponseobj - the object to be checked for equalitypublic String toString()
toString in class AbstractResultResponseCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.