Class UnwrapResponseContainer<OutputT>

  • Type Parameters:
    OutputT - POJO result type.
    All Implemented Interfaces:
    RequestPipeline<Response<OutputT>,​OutputT>

    public class UnwrapResponseContainer<OutputT>
    extends Object
    implements RequestPipeline<Response<OutputT>,​OutputT>
    Unwrap a Response container to just the POJO result. If we've gotten this far then the Response container can only be a success response, otherwise the exception would have been thrown out of the pipeline.