org.apache.jena.riot.web
Class HttpOp.CaptureInput

java.lang.Object
  extended by 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.


Constructor Summary
HttpOp.CaptureInput()
           
 
Method Summary
 TypedInputStream get()
           
 void handle(String baseIRI, org.apache.http.HttpResponse response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpOp.CaptureInput

public HttpOp.CaptureInput()
Method Detail

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