Class GroovyHttpServletRequest

java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
de.uplanet.lucy.server.scripting.groovy.servlet.GroovyHttpServletRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class GroovyHttpServletRequest extends javax.servlet.http.HttpServletRequestWrapper
Since:
Intrexx 10.10.
  • Field Summary

    Fields inherited from interface javax.servlet.http.HttpServletRequest

    BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroovyHttpServletRequest(javax.servlet.http.HttpServletRequest p_request)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authenticate(javax.servlet.http.HttpServletResponse p_response)
    This method is not supported.
    This method is not supported.
    javax.servlet.AsyncContext
    This method is not supported.
    This method is not supported.
    javax.servlet.DispatcherType
    This method is not supported.
    getRealPath(String p_strPath)
    Deprecated. 
    javax.servlet.http.HttpSession
    This method is not supported.
    javax.servlet.http.HttpSession
    getSession(boolean p_bCreate)
    This method is not supported.
    This method is not supported.
    boolean
    This method is not supported.
    boolean
    This method is not supported.
    boolean
    This method is not supported.
    boolean
    Deprecated. 
    boolean
    This method is not supported.
    boolean
    This method is not supported.
    boolean
    isUserInRole(String p_strRole)
    This method is not supported.
    boolean
    isWrapperFor(Class<?> p_wrappedType)
    This method is not supported.
    boolean
    isWrapperFor(javax.servlet.ServletRequest p_wrapped)
    This method is not supported.
    void
    login(String p_strUserName, String p_strPassword)
    This method is not supported.
    void
    This method is not supported.
    void
    setRequest(javax.servlet.ServletRequest p_request)
    This method is not supported.
    javax.servlet.AsyncContext
    This method is not supported.
    javax.servlet.AsyncContext
    startAsync(javax.servlet.ServletRequest p_request, javax.servlet.ServletResponse p_response)
    This method is not supported.
    <T extends javax.servlet.http.HttpUpgradeHandler>
    T
    upgrade(Class<T> p_handlerClass)
    This method is not supported.

    Methods inherited from class javax.servlet.http.HttpServletRequestWrapper

    getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath

    Methods inherited from class javax.servlet.ServletRequestWrapper

    getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isSecure, removeAttribute, setAttribute, setCharacterEncoding

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.servlet.ServletRequest

    getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isSecure, removeAttribute, setAttribute, setCharacterEncoding
  • Constructor Details

    • GroovyHttpServletRequest

      public GroovyHttpServletRequest(javax.servlet.http.HttpServletRequest p_request)
  • Method Details

    • getAuthType

      public String getAuthType()
      This method is not supported.
      Specified by:
      getAuthType in interface javax.servlet.http.HttpServletRequest
      Overrides:
      getAuthType in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isUserInRole

      public boolean isUserInRole(String p_strRole)
      This method is not supported.
      Specified by:
      isUserInRole in interface javax.servlet.http.HttpServletRequest
      Overrides:
      isUserInRole in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getUserPrincipal

      public Principal getUserPrincipal()
      This method is not supported.
      Specified by:
      getUserPrincipal in interface javax.servlet.http.HttpServletRequest
      Overrides:
      getUserPrincipal in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getSession

      public javax.servlet.http.HttpSession getSession(boolean p_bCreate)
      This method is not supported.
      Specified by:
      getSession in interface javax.servlet.http.HttpServletRequest
      Overrides:
      getSession in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getSession

      public javax.servlet.http.HttpSession getSession()
      This method is not supported.
      Specified by:
      getSession in interface javax.servlet.http.HttpServletRequest
      Overrides:
      getSession in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • changeSessionId

      public String changeSessionId()
      This method is not supported.
      Specified by:
      changeSessionId in interface javax.servlet.http.HttpServletRequest
      Overrides:
      changeSessionId in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isRequestedSessionIdValid

      public boolean isRequestedSessionIdValid()
      This method is not supported.
      Specified by:
      isRequestedSessionIdValid in interface javax.servlet.http.HttpServletRequest
      Overrides:
      isRequestedSessionIdValid in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isRequestedSessionIdFromCookie

      public boolean isRequestedSessionIdFromCookie()
      This method is not supported.
      Specified by:
      isRequestedSessionIdFromCookie in interface javax.servlet.http.HttpServletRequest
      Overrides:
      isRequestedSessionIdFromCookie in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isRequestedSessionIdFromURL

      public boolean isRequestedSessionIdFromURL()
      This method is not supported.
      Specified by:
      isRequestedSessionIdFromURL in interface javax.servlet.http.HttpServletRequest
      Overrides:
      isRequestedSessionIdFromURL in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isRequestedSessionIdFromUrl

      @Deprecated public boolean isRequestedSessionIdFromUrl()
      Deprecated.
      This method is not supported.
      Specified by:
      isRequestedSessionIdFromUrl in interface javax.servlet.http.HttpServletRequest
      Overrides:
      isRequestedSessionIdFromUrl in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • authenticate

      public boolean authenticate(javax.servlet.http.HttpServletResponse p_response)
      This method is not supported.
      Specified by:
      authenticate in interface javax.servlet.http.HttpServletRequest
      Overrides:
      authenticate in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • login

      public void login(String p_strUserName, String p_strPassword)
      This method is not supported.
      Specified by:
      login in interface javax.servlet.http.HttpServletRequest
      Overrides:
      login in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • logout

      public void logout()
      This method is not supported.
      Specified by:
      logout in interface javax.servlet.http.HttpServletRequest
      Overrides:
      logout in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • upgrade

      public <T extends javax.servlet.http.HttpUpgradeHandler> T upgrade(Class<T> p_handlerClass)
      This method is not supported.
      Specified by:
      upgrade in interface javax.servlet.http.HttpServletRequest
      Overrides:
      upgrade in class javax.servlet.http.HttpServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setRequest

      public void setRequest(javax.servlet.ServletRequest p_request)
      This method is not supported.
      Overrides:
      setRequest in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getRealPath

      @Deprecated public String getRealPath(String p_strPath)
      Deprecated.
      This method is not supported.
      Specified by:
      getRealPath in interface javax.servlet.ServletRequest
      Overrides:
      getRealPath in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • startAsync

      public javax.servlet.AsyncContext startAsync()
      This method is not supported.
      Specified by:
      startAsync in interface javax.servlet.ServletRequest
      Overrides:
      startAsync in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • startAsync

      public javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest p_request, javax.servlet.ServletResponse p_response)
      This method is not supported.
      Specified by:
      startAsync in interface javax.servlet.ServletRequest
      Overrides:
      startAsync in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isAsyncStarted

      public boolean isAsyncStarted()
      This method is not supported.
      Specified by:
      isAsyncStarted in interface javax.servlet.ServletRequest
      Overrides:
      isAsyncStarted in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isAsyncSupported

      public boolean isAsyncSupported()
      This method is not supported.
      Specified by:
      isAsyncSupported in interface javax.servlet.ServletRequest
      Overrides:
      isAsyncSupported in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getAsyncContext

      public javax.servlet.AsyncContext getAsyncContext()
      This method is not supported.
      Specified by:
      getAsyncContext in interface javax.servlet.ServletRequest
      Overrides:
      getAsyncContext in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isWrapperFor

      public boolean isWrapperFor(javax.servlet.ServletRequest p_wrapped)
      This method is not supported.
      Overrides:
      isWrapperFor in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isWrapperFor

      public boolean isWrapperFor(Class<?> p_wrappedType)
      This method is not supported.
      Overrides:
      isWrapperFor in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getDispatcherType

      public javax.servlet.DispatcherType getDispatcherType()
      This method is not supported.
      Specified by:
      getDispatcherType in interface javax.servlet.ServletRequest
      Overrides:
      getDispatcherType in class javax.servlet.ServletRequestWrapper
      Throws:
      UnsupportedOperationException - Always.