org.apache.directory.shared.ldap.extras.extended.ads_impl.cancel
Class CancelRequestDecorator
java.lang.Object
org.apache.directory.shared.ldap.codec.api.MessageDecorator<M>
org.apache.directory.shared.ldap.codec.decorators.RequestDecorator<M>
org.apache.directory.shared.ldap.codec.decorators.ResultResponseRequestDecorator<M,R>
org.apache.directory.shared.ldap.codec.decorators.SingleReplyRequestDecorator<Q,P>
org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator<CancelRequest,CancelResponse>
org.apache.directory.shared.ldap.extras.extended.ads_impl.cancel.CancelRequestDecorator
- All Implemented Interfaces:
- Decorator<CancelRequest>, CancelRequest, AbandonableRequest, ExtendedRequest<CancelResponse>, Message, Request, ResultResponseRequest<CancelResponse>, SingleReplyRequest<CancelResponse>
public class CancelRequestDecorator
- extends ExtendedRequestDecorator<CancelRequest,CancelResponse>
- implements CancelRequest
A Decorator for CancelRequests.
- Author:
- Apache Directory Project
| Methods inherited from class org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator |
addAllControls, addControl, computeLength, encode, getExtendedRequestLength, getRequestName, getRequestNameBytes, removeControl, setExtendedRequestLength, setMessageId, setRequestName, setRequestNameBytes |
| Methods inherited from class org.apache.directory.shared.ldap.codec.api.MessageDecorator |
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.Request |
hasResponse |
CancelRequestDecorator
public CancelRequestDecorator(LdapApiService codec,
CancelRequest decoratedMessage)
getCancelId
public int getCancelId()
- Specified by:
getCancelId in interface CancelRequest
setCancelId
public void setCancelId(int cancelId)
- Specified by:
setCancelId in interface CancelRequest
getRequestValue
public byte[] getRequestValue()
-
- Overrides:
getRequestValue in class ExtendedRequestDecorator<CancelRequest,CancelResponse>
setRequestValue
public void setRequestValue(byte[] requestValue)
- Sets the extended request's requestValue portion of the PDU.
- Overrides:
setRequestValue in class ExtendedRequestDecorator<CancelRequest,CancelResponse>
- Parameters:
payload - byte array of data encapsulating ext. req. parameters
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.