public class AjaxRequestContext extends Object implements IRpcCallContext
| Constructor and Description |
|---|
AjaxRequestContext(AjaxRequestHandler ajaxRequestHandler,
RpcCallHandler ch,
RequestContextImpl ctx) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
allocateOutput(Class<T> oc,
ResponseFormat rf) |
<T> T |
createHandlerClass(Class<T> clz) |
RequestContextImpl |
getRctx() |
Writer |
getResponseWriter(ResponseFormat format,
String callname) |
boolean |
hasRight(String role) |
void |
outputCompleted(Object output) |
public AjaxRequestContext(AjaxRequestHandler ajaxRequestHandler, RpcCallHandler ch, RequestContextImpl ctx)
public RequestContextImpl getRctx()
public <T> T createHandlerClass(Class<T> clz) throws Exception
createHandlerClass in interface IRpcCallContextExceptionpublic boolean hasRight(String role)
hasRight in interface IRpcCallContextpublic <T> T allocateOutput(Class<T> oc, ResponseFormat rf) throws Exception
allocateOutput in interface IRpcCallContextExceptionpublic void outputCompleted(Object output) throws Exception
outputCompleted in interface IRpcCallContextExceptionpublic Writer getResponseWriter(ResponseFormat format, String callname) throws Exception
getResponseWriter in interface IRpcCallContextExceptionCopyright © 2017 etc.to. All rights reserved.