public class AggPointRestHandler
extends cc.clayman.console.BasicRequestHandler
Constructor and Description |
---|
AggPointRestHandler() |
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 |
getAggPointInfo(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
Get info on an agg point 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.
|
void |
listAggPoints(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
List agg points given a request and send a response.
|
protected cc.clayman.console.AbstractRestRequestHandler |
notFound(org.simpleframework.http.Response arg0,
java.lang.String arg1) |
void |
setAP(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
Set an agg point given a request and send a response.
|
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 setAP(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
public void listAggPoints(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
public void getAggPointInfo(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