Class WebResource

  • All Implemented Interfaces:
    Resource

    public class WebResource
    extends JavaEEResource
    Represents a Resource for the Web Layer
    Since:
    Jun 18, 2006
    Version:
    $Revision: 62260 $
    Author:
    Anil Saldhana
    • Field Detail

      • WEB_AUDIT_FLAG

        public static final String WEB_AUDIT_FLAG
        System Property setting to configure the web audit off = turn it off headers = audit the headers cookies = audit the cookie parameters = audit the parameters attributes = audit the attributes headers,cookies,parameters = audit the headers,cookie and parameters headers,cookies = audit the headers and cookies and so on Note: If this flag is not set in the system property, then we get no audit data for the web request
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebResource

        public WebResource()
        Create a new WebResource.
      • WebResource

        public WebResource​(Map<String,​Object> map)
        Create a new WebResource.
        Parameters:
        map - Contextual Map
    • Method Detail

      • getCanonicalRequestURI

        public String getCanonicalRequestURI()
      • setCanonicalRequestURI

        public void setCanonicalRequestURI​(String canonicalRequestURI)
      • getServletRequest

        public javax.servlet.ServletRequest getServletRequest()
      • setServletRequest

        public void setServletRequest​(javax.servlet.ServletRequest servletRequest)
      • getServletResponse

        public javax.servlet.ServletResponse getServletResponse()
      • setServletResponse

        public void setServletResponse​(javax.servlet.ServletResponse servletResponse)
      • getServletName

        public String getServletName()
        The Servlet for which the authorization request is for
        Returns:
      • setServletName

        public void setServletName​(String servletName)