Class ServletActionContext

java.lang.Object
com.atlassian.confluence.struts.compat2.ServletActionContext
Direct Known Subclasses:
ServletActionContext

public class ServletActionContext extends Object
Wrapper for ServletActionContext which ensures compatibility with Struts 6.7, specifically the usage of JavaX APIs rather than Jakarta APIs.
Since:
9.3
  • Constructor Details

    • ServletActionContext

      public ServletActionContext()
  • Method Details

    • getActionContext

      public static ActionContext getActionContext(javax.servlet.http.HttpServletRequest req)
    • getActionContext

      public static ActionContext getActionContext()
    • getContext

      public static ActionContext getContext()
    • getValueStack

      public static org.apache.struts2.util.ValueStack getValueStack(javax.servlet.http.HttpServletRequest req)
    • getActionMapping

      public static org.apache.struts2.dispatcher.mapper.ActionMapping getActionMapping()
    • setRequest

      public static void setRequest(javax.servlet.http.HttpServletRequest request)
    • getRequest

      public static javax.servlet.http.HttpServletRequest getRequest()
    • setResponse

      public static void setResponse(javax.servlet.http.HttpServletResponse response)
    • getResponse

      public static javax.servlet.http.HttpServletResponse getResponse()
    • getServletContext

      public static javax.servlet.ServletContext getServletContext()
    • setServletContext

      public static void setServletContext(javax.servlet.ServletContext servletContext)