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