Class ResponseContentSupplier

  • All Implemented Interfaces:
    Serializable, AutoCloseable

    public class ResponseContentSupplier
    extends Object
    implements Serializable, AutoCloseable
    A container for the Http Response. The container is returned as is to the Pipeline. For the normal plugin, the container is consumed internally (since it cannot be returned).
    Author:
    Martin d'Anjou
    See Also:
    Serialized Form
    • Constructor Detail

      • ResponseContentSupplier

        public ResponseContentSupplier​(String content,
                                       int status)
      • ResponseContentSupplier

        public ResponseContentSupplier​(ResponseHandle responseHandle,
                                       org.apache.http.HttpResponse response)