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

java.lang.Object
  extended by org.apache.jena.riot.web.HttpOp.CaptureString
All Implemented Interfaces:
HttpCaptureResponse<String>, HttpResponseHandler
Enclosing class:
HttpOp

public static class HttpOp.CaptureString
extends Object
implements HttpCaptureResponse<String>

Capture response as a string (UTF-8 assumed)


Constructor Summary
HttpOp.CaptureString()
           
 
Method Summary
 String 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.CaptureString

public HttpOp.CaptureString()
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 String get()
Specified by:
get in interface HttpCaptureResponse<String>


Licenced under the Apache License, Version 2.0