public class ReflectiveAjaxCallbackHandler extends java.lang.Object implements AjaxCallbackHandler
Constructor and Description |
---|
ReflectiveAjaxCallbackHandler(org.apache.wicket.Component componentAndMethodSource)
This constructor means that the reflective method source is also a wicket component
|
ReflectiveAjaxCallbackHandler(java.lang.Object methodSource,
org.apache.wicket.Component component)
This constructor is for having a separate method source that is not a wicket component
|
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.request.IRequestHandler |
respond(javax.servlet.http.HttpServletRequest hsr) |
protected org.apache.wicket.request.IRequestHandler |
respondGet(javax.servlet.http.HttpServletRequest hsr)
Implemented to throw http 500.
|
org.apache.wicket.request.IRequestHandler |
respondInvokableJSON(JSONObject argument,
java.lang.reflect.Method method) |
org.apache.wicket.request.IRequestHandler |
respondInvokableWicket(javax.servlet.http.HttpServletRequest request,
java.lang.reflect.Method method) |
protected org.apache.wicket.request.IRequestHandler |
respondJSONPost(javax.servlet.http.HttpServletRequest hsr)
If the web request posted application/json content to the callback URL, it gets fed into here
|
protected org.apache.wicket.request.IRequestHandler |
respondWicketAjax(javax.servlet.http.HttpServletRequest hsr) |
public ReflectiveAjaxCallbackHandler(org.apache.wicket.Component componentAndMethodSource)
public ReflectiveAjaxCallbackHandler(java.lang.Object methodSource, org.apache.wicket.Component component)
public org.apache.wicket.request.IRequestHandler respond(javax.servlet.http.HttpServletRequest hsr) throws java.lang.Exception
respond
in interface AjaxCallbackHandler
java.lang.Exception
protected org.apache.wicket.request.IRequestHandler respondGet(javax.servlet.http.HttpServletRequest hsr)
protected org.apache.wicket.request.IRequestHandler respondJSONPost(javax.servlet.http.HttpServletRequest hsr) throws java.lang.Exception
java.lang.Exception
public org.apache.wicket.request.IRequestHandler respondInvokableJSON(JSONObject argument, java.lang.reflect.Method method) throws java.lang.Exception
java.lang.Exception
protected org.apache.wicket.request.IRequestHandler respondWicketAjax(javax.servlet.http.HttpServletRequest hsr) throws java.lang.Exception
java.lang.Exception
public org.apache.wicket.request.IRequestHandler respondInvokableWicket(javax.servlet.http.HttpServletRequest request, java.lang.reflect.Method method) throws java.lang.Exception
java.lang.Exception