|
||||||||||
| 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.gracefulShutdown.GracefulShutdownFactory
public class GracefulShutdownFactory
An ExtendedRequestFactory for creating cancel extended request response
pairs.
| Constructor Summary | |
|---|---|
GracefulShutdownFactory(LdapApiService codec)
|
|
| Method Summary | |
|---|---|
ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse> |
decorate(ExtendedRequest<?> modelRequest)
Decorates a non-decorated request. |
ExtendedResponseDecorator<GracefulShutdownResponse> |
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. |
GracefulShutdownRequest |
newRequest()
|
GracefulShutdownRequest |
newRequest(byte[] value)
Returns a new ExtendedRequestDecorator with the following encoded value. |
GracefulShutdownResponse |
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 GracefulShutdownFactory(LdapApiService codec)
| Method Detail |
|---|
public String getOid()
getOid in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>public GracefulShutdownRequest newRequest()
newRequest in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>ExtendedRequestDecorator.
public GracefulShutdownResponse newResponse(byte[] encodedValue)
throws DecoderException
newResponse in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>encodedValue - The encoded value for the ExtendedResponse instance.
DecoderExceptionpublic GracefulShutdownRequest newRequest(byte[] value)
ExtendedRequestDecorator with the following encoded value.
newRequest in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>value - the encoded value
public ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse> decorate(ExtendedRequest<?> modelRequest)
decorate in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>modelRequest - the non decorated model request
public ExtendedResponseDecorator<GracefulShutdownResponse> decorate(ExtendedResponse decoratedMessage)
decorate in interface ExtendedRequestFactory<GracefulShutdownRequest,GracefulShutdownResponse>decoratedMessage - the message to be decorated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||