com.tinkerpop.rexster
Class GraphResource

java.lang.Object
  extended by com.tinkerpop.rexster.BaseResource
      extended by com.tinkerpop.rexster.AbstractSubResource
          extended by com.tinkerpop.rexster.GraphResource

public class GraphResource
extends AbstractSubResource


Field Summary
 
Fields inherited from class com.tinkerpop.rexster.AbstractSubResource
extensionCache
 
Fields inherited from class com.tinkerpop.rexster.BaseResource
httpServletRequest, producesVariantList, resultObject, securityContext, servletContext, sh, uriInfo
 
Constructor Summary
GraphResource()
           
GraphResource(javax.ws.rs.core.UriInfo ui, javax.servlet.http.HttpServletRequest req, RexsterApplication ra)
           
 
Method Summary
 javax.ws.rs.core.Response deleteGraphExtension(String graphName)
           
 javax.ws.rs.core.Response deleteGraphExtension(String graphName, org.codehaus.jettison.json.JSONObject json)
           
 javax.ws.rs.core.Response getGraphExtension(String graphName)
           
 javax.ws.rs.core.Response getGraphProducesJson(String graphName)
           
 javax.ws.rs.core.Response getGraphProducesRexsterJson(String graphName)
          GET http://host/graph graph.toString();
 javax.ws.rs.core.Response headGraphExtension(String graphName)
           
 javax.ws.rs.core.Response headGraphExtension(String graphName, org.codehaus.jettison.json.JSONObject json)
           
 javax.ws.rs.core.Response optionsGraph()
           
 javax.ws.rs.core.Response optionsGraphExtension(String graphName)
           
 javax.ws.rs.core.Response optionsGraphExtension(String graphName, org.codehaus.jettison.json.JSONObject json)
           
 javax.ws.rs.core.Response postGraphExtension(String graphName)
           
 javax.ws.rs.core.Response postGraphExtension(String graphName, org.codehaus.jettison.json.JSONObject json)
           
 javax.ws.rs.core.Response putGraphExtension(String graphName)
           
 javax.ws.rs.core.Response putGraphExtension(String graphName, org.codehaus.jettison.json.JSONObject json)
           
 
Methods inherited from class com.tinkerpop.rexster.AbstractSubResource
findExtensionClasses, findExtensionMethod, getRexsterApplicationGraph, invokeExtension, invokeExtension, invokeExtension, invokeExtension, parseUriForExtensionSegment, tryAppendRexsterAttributesIfJson
 
Methods inherited from class com.tinkerpop.rexster.BaseResource
buildOptionsResponse, buildOptionsResponse, generateErrorObject, generateErrorObject, generateErrorObjectJsonFail, getNonRexsterRequest, getNonRexsterRequestKeys, getRequestObject, getRequestObject, getRequestObjectFlat, getRexsterApplication, getTimeAlive, getUriPath, setRequestObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphResource

public GraphResource()

GraphResource

public GraphResource(javax.ws.rs.core.UriInfo ui,
                     javax.servlet.http.HttpServletRequest req,
                     RexsterApplication ra)
Method Detail

optionsGraph

public javax.ws.rs.core.Response optionsGraph()

getGraphProducesJson

public javax.ws.rs.core.Response getGraphProducesJson(String graphName)

getGraphProducesRexsterJson

public javax.ws.rs.core.Response getGraphProducesRexsterJson(String graphName)
GET http://host/graph graph.toString();


headGraphExtension

public javax.ws.rs.core.Response headGraphExtension(String graphName,
                                                    org.codehaus.jettison.json.JSONObject json)

headGraphExtension

public javax.ws.rs.core.Response headGraphExtension(String graphName)

putGraphExtension

public javax.ws.rs.core.Response putGraphExtension(String graphName,
                                                   org.codehaus.jettison.json.JSONObject json)

putGraphExtension

public javax.ws.rs.core.Response putGraphExtension(String graphName)

optionsGraphExtension

public javax.ws.rs.core.Response optionsGraphExtension(String graphName,
                                                       org.codehaus.jettison.json.JSONObject json)

optionsGraphExtension

public javax.ws.rs.core.Response optionsGraphExtension(String graphName)

deleteGraphExtension

public javax.ws.rs.core.Response deleteGraphExtension(String graphName,
                                                      org.codehaus.jettison.json.JSONObject json)

deleteGraphExtension

public javax.ws.rs.core.Response deleteGraphExtension(String graphName)

postGraphExtension

public javax.ws.rs.core.Response postGraphExtension(String graphName,
                                                    org.codehaus.jettison.json.JSONObject json)

postGraphExtension

public javax.ws.rs.core.Response postGraphExtension(String graphName)

getGraphExtension

public javax.ws.rs.core.Response getGraphExtension(String graphName)


Copyright © 2009-2012. All Rights Reserved.