程序包 cn.gybyt.wrapper

类 GybytHttpServletRequestWrapper

  • 所有已实现的接口:
    javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

    public class GybytHttpServletRequestWrapper
    extends javax.servlet.http.HttpServletRequestWrapper
    request对象包装
    • 字段概要

      • 从接口继承的字段 javax.servlet.http.HttpServletRequest

        BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      javax.servlet.ServletInputStream getInputStream()  
      BufferedReader getReader()  
      • 从类继承的方法 javax.servlet.http.HttpServletRequestWrapper

        authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
      • 从类继承的方法 javax.servlet.ServletRequestWrapper

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
      • 从接口继承的方法 javax.servlet.ServletRequest

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
    • 构造器详细资料

      • GybytHttpServletRequestWrapper

        public GybytHttpServletRequestWrapper​(javax.servlet.http.HttpServletRequest request)
    • 方法详细资料

      • getReader

        public BufferedReader getReader()
                                 throws IOException
        指定者:
        getReader 在接口中 javax.servlet.ServletRequest
        覆盖:
        getReader 在类中 javax.servlet.ServletRequestWrapper
        返回:
        抛出:
        IOException
      • getInputStream

        public javax.servlet.ServletInputStream getInputStream()
                                                        throws IOException
        指定者:
        getInputStream 在接口中 javax.servlet.ServletRequest
        覆盖:
        getInputStream 在类中 javax.servlet.ServletRequestWrapper
        返回:
        抛出:
        IOException