public class IntermediateResponseImpl extends AbstractResultResponse implements IntermediateResponse
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
|
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
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 IntermediateResponse
public void setResponseValue(byte[] value)
setResponseValue
in interface IntermediateResponse
value
- the response value.public String getResponseName()
getResponseName
in interface IntermediateResponse
public void setResponseName(String oid)
setResponseName
in interface IntermediateResponse
oid
- the OID of the Intermediate response type.public int hashCode()
hashCode
in class AbstractResultResponse
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractResultResponse
obj
- the object to be checked for equalitypublic String toString()
toString
in class AbstractResultResponse
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.