Interface ExtendedRequestDecoder<R extends ExtendedRequest<S>,S extends ExtendedResult>
- Type Parameters:
R
- The type of extended request.S
- The type of result.
public interface ExtendedRequestDecoder<R extends ExtendedRequest<S>,S extends ExtendedResult>
A factory interface for decoding a generic extended request as an extended
request of specific type.
-
Method Summary
Modifier and TypeMethodDescriptiondecodeExtendedRequest
(ExtendedRequest<?> request, DecodeOptions options) Decodes the provided extended operation request as anExtendedRequest
of typeR
.
-
Method Details
-
decodeExtendedRequest
Decodes the provided extended operation request as anExtendedRequest
of typeR
.- Parameters:
request
- The extended operation request to be decoded.options
- The set of decode options which should be used when decoding the extended operation request.- Returns:
- The decoded extended operation request.
- Throws:
DecodeException
- If the provided extended operation request could not be decoded. For example, if the request name was wrong, or if the request value was invalid.
-