Class ResponseContentSupplier

java.lang.Object
jenkins.plugins.http_request.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:
  • Constructor Details

    • ResponseContentSupplier

      public ResponseContentSupplier(String content, int status)
    • ResponseContentSupplier

      public ResponseContentSupplier(ResponseHandle responseHandle, org.apache.http.HttpResponse response)
  • Method Details