Interface ResponseBuilder.Factory

    • Method Detail

      • newInstance

        <T,​E extends RestExceptionResponseBuilder<T,​E> newInstance​(SerializerAdapter<?> serializerAdapter)
        Returns a response builder instance. This can be created new or cached.
        Type Parameters:
        T - the type of the return object
        E - the type of the exception
        Parameters:
        serializerAdapter - the serializer adapter to deserialize the response
        Returns:
        a response builder instance