Class ReflectiveAjaxCallbackHandler
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.web.components.react.ReflectiveAjaxCallbackHandler
 
- 
- All Implemented Interfaces:
- AjaxCallbackHandler,- java.io.Serializable
 
 public class ReflectiveAjaxCallbackHandler extends java.lang.Object implements AjaxCallbackHandler Created by carlg on 2/10/2016.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ReflectiveAjaxCallbackHandler(java.lang.Object methodSource, org.apache.wicket.Component component)This constructor is for having a separate method source that is not a wicket componentReflectiveAjaxCallbackHandler(org.apache.wicket.Component componentAndMethodSource)This constructor means that the reflective method source is also a wicket component
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.request.IRequestHandlerrespond(javax.servlet.http.HttpServletRequest hsr)protected org.apache.wicket.request.IRequestHandlerrespondGet(javax.servlet.http.HttpServletRequest hsr)Implemented to throw http 500.org.apache.wicket.request.IRequestHandlerrespondInvokableJson(JSONObject argument, java.lang.reflect.Method method)org.apache.wicket.request.IRequestHandlerrespondInvokableWicket(javax.servlet.http.HttpServletRequest request, java.lang.reflect.Method method)protected org.apache.wicket.request.IRequestHandlerrespondJsonPost(javax.servlet.http.HttpServletRequest hsr)If the web request posted application/json content to the callback URL, it gets fed into hereprotected org.apache.wicket.request.IRequestHandlerrespondWicketAjax(javax.servlet.http.HttpServletRequest hsr)
 
- 
- 
- 
Constructor Detail- 
ReflectiveAjaxCallbackHandlerpublic ReflectiveAjaxCallbackHandler(org.apache.wicket.Component componentAndMethodSource) This constructor means that the reflective method source is also a wicket component
 - 
ReflectiveAjaxCallbackHandlerpublic 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
 
- 
 - 
Method Detail- 
respondpublic org.apache.wicket.request.IRequestHandler respond(javax.servlet.http.HttpServletRequest hsr) throws java.lang.Exception- Specified by:
- respondin interface- AjaxCallbackHandler
- Throws:
- java.lang.Exception
 
 - 
respondGetprotected org.apache.wicket.request.IRequestHandler respondGet(javax.servlet.http.HttpServletRequest hsr) Implemented to throw http 500. override to implement
 - 
respondJsonPostprotected org.apache.wicket.request.IRequestHandler respondJsonPost(javax.servlet.http.HttpServletRequest hsr) throws java.lang.ExceptionIf the web request posted application/json content to the callback URL, it gets fed into here- Throws:
- java.lang.Exception
 
 - 
respondInvokableJsonpublic org.apache.wicket.request.IRequestHandler respondInvokableJson(JSONObject argument, java.lang.reflect.Method method) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
respondWicketAjaxprotected org.apache.wicket.request.IRequestHandler respondWicketAjax(javax.servlet.http.HttpServletRequest hsr) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
respondInvokableWicketpublic org.apache.wicket.request.IRequestHandler respondInvokableWicket(javax.servlet.http.HttpServletRequest request, java.lang.reflect.Method method) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 
- 
 
-