org.apache.jena.riot.web
Class HttpOp.CaptureInput
java.lang.Object
org.apache.jena.riot.web.HttpOp.CaptureInput
- All Implemented Interfaces:
- HttpCaptureResponse<TypedInputStream>, HttpResponseHandler
- Enclosing class:
- HttpOp
public static class HttpOp.CaptureInput
- extends Object
- implements HttpCaptureResponse<TypedInputStream>
TypedInputStream from an HTTP response. The TypedInputStream must be
explicitly closed.
HttpOp.CaptureInput
public HttpOp.CaptureInput()
handle
public void handle(String baseIRI,
org.apache.http.HttpResponse response)
throws IOException
- Specified by:
handle in interface HttpResponseHandler
- Throws:
IOException
get
public TypedInputStream get()
- Specified by:
get in interface HttpCaptureResponse<TypedInputStream>
Licenced under the Apache License, Version 2.0