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