@Test void testGetAttribute() { ServletRequestWrapper wrapper = new ServletRequestWrapper(new TestServletRequest(null)); assertNull(wrapper.getAttribute("null")); }
@Override public Object getAttribute(String name) { return wrapped.getAttribute(name); }
ServletRequestWrapper implements ServletRequest { @Override public Object getAttribute(String name) { return wrapped.getAttribute(name); } }
ServletRequestWrapper implements ServletRequest { @Override public Object getAttribute(String name) { return wrapped.getAttribute(name); } ServletRequestWrapper(ServletRequest wrapped); }
ServletRequestWrapper implements ServletRequest { @Override public Object getAttribute(String name) { return wrapped.getAttribute(name); } ServletRequestWrapper(ServletRequest wrapped); @Override AsyncContext getAsyncContext(); @Override Object getAttribute(String name); @Override Enumeration<String> getAttributeNames(); @Override String getCharacterEncoding(); @Override int getContentLength(); @Override long getContentLengthLong(); @Override String getContentType(); @Override DispatcherType getDispatcherType(); @Override ServletInputStream getInputStream(); @Override String getLocalAddr(); @Override String getLocalName(); @Override int getLocalPort(); @Override Locale getLocale(); @Override Enumeration<Locale> getLocales(); @Override String getParameter(String name); @Override Map<String, String[]> getParameterMap(); @Override Enumeration<String> getParameterNames(); @Override String[] getParameterValues(String name); @Override String getProtocol(); @Override BufferedReader getReader(); @Deprecated @Override String getRealPath(String path); @Override String getRemoteAddr(); @Override String getRemoteHost(); @Override int getRemotePort(); ServletRequest getRequest(); @Override RequestDispatcher getRequestDispatcher(String path); @Override String getScheme(); @Override String getServerName(); @Override int getServerPort(); @Override ServletContext getServletContext(); @Override boolean isAsyncStarted(); @Override boolean isAsyncSupported(); @Override boolean isSecure(); boolean isWrapperFor(ServletRequest wrapped); boolean isWrapperFor(Class<?> wrappedType); @Override void removeAttribute(String name); @Override void setAttribute(String name, Object object); @Override void setCharacterEncoding(String characterEncoding); void setRequest(ServletRequest wrapped); @Override AsyncContext startAsync(); @Override AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse); }
ServletRequestWrapper implements ServletRequest { @Override public Object getAttribute(String name) { return wrapped.getAttribute(name); } ServletRequestWrapper(ServletRequest wrapped); @Override AsyncContext getAsyncContext(); @Override Object getAttribute(String name); @Override Enumeration<String> getAttributeNames(); @Override String getCharacterEncoding(); @Override int getContentLength(); @Override long getContentLengthLong(); @Override String getContentType(); @Override DispatcherType getDispatcherType(); @Override ServletInputStream getInputStream(); @Override String getLocalAddr(); @Override String getLocalName(); @Override int getLocalPort(); @Override Locale getLocale(); @Override Enumeration<Locale> getLocales(); @Override String getParameter(String name); @Override Map<String, String[]> getParameterMap(); @Override Enumeration<String> getParameterNames(); @Override String[] getParameterValues(String name); @Override String getProtocol(); @Override BufferedReader getReader(); @Deprecated @Override String getRealPath(String path); @Override String getRemoteAddr(); @Override String getRemoteHost(); @Override int getRemotePort(); ServletRequest getRequest(); @Override RequestDispatcher getRequestDispatcher(String path); @Override String getScheme(); @Override String getServerName(); @Override int getServerPort(); @Override ServletContext getServletContext(); @Override boolean isAsyncStarted(); @Override boolean isAsyncSupported(); @Override boolean isSecure(); boolean isWrapperFor(ServletRequest wrapped); boolean isWrapperFor(Class<?> wrappedType); @Override void removeAttribute(String name); @Override void setAttribute(String name, Object object); @Override void setCharacterEncoding(String characterEncoding); void setRequest(ServletRequest wrapped); @Override AsyncContext startAsync(); @Override AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse);  }