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 Type
    Method
    Description
    Decodes the provided extended operation request as an ExtendedRequest of type R.
  • Method Details

    • decodeExtendedRequest

      R decodeExtendedRequest(ExtendedRequest<?> request, DecodeOptions options) throws DecodeException
      Decodes the provided extended operation request as an ExtendedRequest of type R.
      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.