|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelFactory
public class CancelFactory
An ExtendedRequestFactory for creating cancel extended request response
pairs.
| Constructor Summary | |
|---|---|
CancelFactory(LdapApiService codec)
|
|
| Method Summary | |
|---|---|
ExtendedRequestDecorator<CancelRequest,CancelResponse> |
decorate(ExtendedRequest<?> modelRequest)
Decorates a non-decorated request. |
ExtendedResponseDecorator<CancelResponse> |
decorate(ExtendedResponse decoratedMessage)
Decorates an ExtendedResponse which may or may not be of the expected type. |
String |
getOid()
Gets the OID of the extended requests this factory generates. |
CancelRequest |
newRequest()
|
CancelRequest |
newRequest(byte[] value)
Returns a new ExtendedRequestDecorator with the following encoded value. |
CancelResponse |
newResponse(byte[] encodedValue)
Creates a new ExtendedResponse, for the ExtendedRequest with a specific encoded value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CancelFactory(LdapApiService codec)
| Method Detail |
|---|
public String getOid()
getOid in interface ExtendedRequestFactory<CancelRequest,CancelResponse>public CancelRequest newRequest()
newRequest in interface ExtendedRequestFactory<CancelRequest,CancelResponse>ExtendedRequestDecorator.
public CancelResponse newResponse(byte[] encodedValue)
throws DecoderException
newResponse in interface ExtendedRequestFactory<CancelRequest,CancelResponse>encodedValue - The encoded value for the ExtendedResponse instance.
DecoderExceptionpublic CancelRequest newRequest(byte[] value)
ExtendedRequestDecorator with the following encoded value.
newRequest in interface ExtendedRequestFactory<CancelRequest,CancelResponse>value - the encoded value
public ExtendedRequestDecorator<CancelRequest,CancelResponse> decorate(ExtendedRequest<?> modelRequest)
decorate in interface ExtendedRequestFactory<CancelRequest,CancelResponse>modelRequest - the non decorated model request
public ExtendedResponseDecorator<CancelResponse> decorate(ExtendedResponse decoratedMessage)
decorate in interface ExtendedRequestFactory<CancelRequest,CancelResponse>decoratedMessage - the message to be decorated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||