Package jenkins.plugins.instana
Class ResponseContentSupplier
java.lang.Object
jenkins.plugins.instana.ResponseContentSupplier
- All Implemented Interfaces:
Serializable
,AutoCloseable
public class ResponseContentSupplier extends Object implements Serializable, AutoCloseable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ResponseContentSupplier(String content, int status)
ResponseContentSupplier(org.apache.http.HttpResponse response)
-
Method Summary
Modifier and Type Method Description void
close()
String
getCharset()
String
getContent()
InputStream
getContentStream()
Map<String,List<String>>
getHeaders()
int
getStatus()
String
toString()
-
Constructor Details
-
ResponseContentSupplier
-
ResponseContentSupplier
public ResponseContentSupplier(org.apache.http.HttpResponse response)
-
-
Method Details
-
getStatus
public int getStatus() -
getHeaders
-
getCharset
-
getContent
-
getContentStream
-
toString
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-