org.openjena.riot.web
Class HttpResponseLib

java.lang.Object
  extended by org.openjena.riot.web.HttpResponseLib

public class HttpResponseLib
extends Object

A collection of handlers for response handling.

See Also:
HttpOp.execHttpGet(String, String, java.util.Map), HttpOp.execHttpPost(String, String, ContentProducer, String, java.util.Map)

Nested Class Summary
static class HttpResponseLib.HttpCaptureResponseResultSet
          Response handling for SPARQL result sets.
 
Field Summary
static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderNTriples
           
static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderRDFXML
           
static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderTurtle
           
static HttpResponseHandler httpDumpResponse
           
 
Constructor Summary
HttpResponseLib()
           
 
Method Summary
static ResultsFormat contentTypeToResultSet(String contentType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

httpDumpResponse

public static HttpResponseHandler httpDumpResponse

graphReaderTurtle

public static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderTurtle

graphReaderNTriples

public static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderNTriples

graphReaderRDFXML

public static HttpCaptureResponse<com.hp.hpl.jena.graph.Graph> graphReaderRDFXML
Constructor Detail

HttpResponseLib

public HttpResponseLib()
Method Detail

contentTypeToResultSet

public static ResultsFormat contentTypeToResultSet(String contentType)


Licenced under the Apache License, Version 2.0