Class ServerInfoAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class ServerInfoAction
    extends ConfluenceActionSupport
    This class is to serve /server-info.action paths. Mobile apps requests this path to ascertain if mobile plugin is enabled In long-term this request should be served from a rest-resource instead of headers.
    Since:
    7.6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ServerInfoAction

        public ServerInfoAction()
    • Method Detail

      • execute

        @XsrfProtectionExcluded
        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception