public class ExtendedRequestImpl extends AbstractRequest implements ExtendedRequest<ExtendedResponse>
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedResponseImpl |
response
The associated response
|
controlsRESP_TYPE, TYPE| Constructor and Description |
|---|
ExtendedRequestImpl()
Creates an ExtendedRequest implementing object used to perform
extended protocol operation on the server.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedRequest<ExtendedResponse> |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
ExtendedRequest<ExtendedResponse> |
addControl(Control control)
Adds a control to this Message.
|
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
ExtendedResponse |
getExtendedResponse()
The result containing response for this request.
|
String |
getRequestName()
Gets the Object Identifier corresponding to the extended request type.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
ExtendedResponse |
getResultResponse()
If called for the first time, this methohd creates a result containing
response object for this request.
|
int |
hashCode() |
ExtendedRequest<ExtendedResponse> |
removeControl(Control control)
Deletes a control removing it from this Message.
|
ExtendedRequest<ExtendedResponse> |
setMessageId(int messageId)
Sets the Message ID for this request
|
ExtendedRequest<ExtendedResponse> |
setRequestName(String newOid)
Sets the Object Identifier corresponding to the extended request type.
|
String |
toString()
Get a String representation of an Extended Request
|
hasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseget, getControl, getControls, getMessageId, getType, hasControl, putprotected ExtendedResponseImpl response
public ExtendedRequestImpl()
public String getRequestName()
getRequestName in interface ExtendedRequest<ExtendedResponse>public ExtendedRequest<ExtendedResponse> setRequestName(String newOid)
setRequestName in interface ExtendedRequest<ExtendedResponse>newOid - the dotted-decimal representation as a String of the OIDpublic ExtendedRequest<ExtendedResponse> setMessageId(int messageId)
setMessageId in interface ExtendedRequest<ExtendedResponse>setMessageId in interface MessagesetMessageId in class AbstractMessagemessageId - The message Idpublic ExtendedRequest<ExtendedResponse> addControl(Control control)
addControl in interface ExtendedRequest<ExtendedResponse>addControl in interface MessageaddControl in class AbstractMessagecontrol - the control to add.public ExtendedRequest<ExtendedResponse> addAllControls(Control[] controls)
addAllControls in interface ExtendedRequest<ExtendedResponse>addAllControls in interface MessageaddAllControls in class AbstractMessagecontrols - the controls to add.public ExtendedRequest<ExtendedResponse> removeControl(Control control)
removeControl in interface ExtendedRequest<ExtendedResponse>removeControl in interface MessageremoveControl in class AbstractMessagecontrol - the control to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequest<ExtendedResponse>public ExtendedResponse getExtendedResponse()
public ExtendedResponse getResultResponse()
getResultResponse in interface ResultResponseRequest<ExtendedResponse>public int hashCode()
hashCode in class AbstractRequestObject.hashCode()public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to be checked for equalityCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.