Class ReadOnlyJsonResult

  • All Implemented Interfaces:
    com.opensymphony.xwork2.Result, Serializable, org.apache.struts2.StrutsStatics

    @Deprecated
    public class ReadOnlyJsonResult
    extends org.apache.struts2.result.StrutsResultSupport
    Deprecated.
    since 8.6.0. Use a JAX-RS resource instead.
    Inspired by HttpHeaderResult and JsonResult.
    Since:
    6.9.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.struts2.result.StrutsResultSupport

        DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocation
      • Fields inherited from interface org.apache.struts2.StrutsStatics

        ACTION_MAPPING, HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadOnlyJsonResult()
      Deprecated.
       
    • Constructor Detail

      • ReadOnlyJsonResult

        public ReadOnlyJsonResult()
        Deprecated.
    • Method Detail

      • doExecute

        protected void doExecute​(String finalDestination,
                                 com.opensymphony.xwork2.ActionInvocation actionInvocation)
                          throws Exception
        Deprecated.
        Specified by:
        doExecute in class org.apache.struts2.result.StrutsResultSupport
        Throws:
        Exception