public class GraphRestHandler
extends cc.clayman.console.BasicRequestHandler
Examples: /graph/dot /graph/plain
Constructor and Description |
---|
GraphRestHandler() |
Modifier and Type | Method and Description |
---|---|
protected cc.clayman.console.AbstractRestRequestHandler |
badRequest(org.simpleframework.http.Response arg0,
java.lang.String arg1) |
protected cc.clayman.console.AbstractRestRequestHandler |
complain(org.simpleframework.http.Response arg0,
java.lang.String arg1) |
void |
getGraphInfo(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
Get the graph version of a file given a request and send a response.
|
boolean |
handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
Handle a request and send a response.
|
protected cc.clayman.console.AbstractRestRequestHandler |
notFound(org.simpleframework.http.Response arg0,
java.lang.String arg1) |
getManagementConsole, getPattern, hashCode, leadin, setManagementConsole, setPattern
public boolean handle(org.simpleframework.http.Request request, org.simpleframework.http.Response response)
handle
in interface cc.clayman.console.RequestHandler
handle
in class cc.clayman.console.BasicRequestHandler
public void getGraphInfo(org.simpleframework.http.Request request, org.simpleframework.http.Response response) throws java.io.IOException, us.monoid.json.JSONException
java.io.IOException
us.monoid.json.JSONException
protected cc.clayman.console.AbstractRestRequestHandler badRequest(org.simpleframework.http.Response arg0, java.lang.String arg1) throws java.io.IOException, us.monoid.json.JSONException
java.io.IOException
us.monoid.json.JSONException
protected cc.clayman.console.AbstractRestRequestHandler complain(org.simpleframework.http.Response arg0, java.lang.String arg1) throws java.io.IOException, us.monoid.json.JSONException
java.io.IOException
us.monoid.json.JSONException
protected cc.clayman.console.AbstractRestRequestHandler notFound(org.simpleframework.http.Response arg0, java.lang.String arg1) throws java.io.IOException, us.monoid.json.JSONException
java.io.IOException
us.monoid.json.JSONException
User Space Routing 0.10.3