Package org.apache.jena.riot.web
Class HttpOp1.CaptureInput
- java.lang.Object
-
- org.apache.jena.riot.web.HttpOp1.CaptureInput
-
- All Implemented Interfaces:
HttpCaptureResponse<TypedInputStream>
,HttpResponseHandler
- Enclosing class:
- HttpOp1
public static class HttpOp1.CaptureInput extends java.lang.Object implements HttpCaptureResponse<TypedInputStream>
TypedInputStream from an HTTP response. The TypedInputStream must be explicitly closed.
-
-
Constructor Summary
Constructors Constructor Description CaptureInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedInputStream
get()
void
handle(java.lang.String baseIRI, org.apache.http.HttpResponse response)
-
-
-
Method Detail
-
handle
public void handle(java.lang.String baseIRI, org.apache.http.HttpResponse response) throws java.io.IOException
- Specified by:
handle
in interfaceHttpResponseHandler
- Throws:
java.io.IOException
-
get
public TypedInputStream get()
- Specified by:
get
in interfaceHttpCaptureResponse<TypedInputStream>
-
-