Interface IntermediateResponseFactory
-
- All Known Implementing Classes:
SyncInfoFactory
,SyncInfoValueFactory
public interface IntermediateResponseFactory
The factory interface, defined by the codec API, for creating new Intermediate responses.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntermediateResponse
decorate(IntermediateResponse decoratedMessage)
Decorates an IntermediateResponse which may or may not be of the expected type.String
getOid()
Gets the OID of the IntermediateResponse this factory generates.IntermediateResponse
newResponse(byte[] value)
Returns a newIntermediateResponse
with the following encoded value.
-
-
-
Method Detail
-
getOid
String getOid()
Gets the OID of the IntermediateResponse this factory generates.- Returns:
- the extended request OID
-
newResponse
IntermediateResponse newResponse(byte[] value)
Returns a newIntermediateResponse
with the following encoded value.- Parameters:
value
- the encoded value- Returns:
- the decorator for the extended response type
-
decorate
IntermediateResponse decorate(IntermediateResponse decoratedMessage)
Decorates an IntermediateResponse which may or may not be of the expected type. The factory implementor must check and handle appropriately.- Parameters:
decoratedMessage
- the message to be decorated.- Returns:
- The decorated message
-
-