@Override public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException { throw new ServletDebugException(); }
/** * Standard interface */ public String getAuthType() { throw new ServletDebugException(); }
/** Standard interface */ public String getAuthType() { throw new ServletDebugException(); }
public String encodeRedirectUrl(String arg0) { throw new ServletDebugException(); }
public String encodeURL(String arg0) { throw new ServletDebugException(); }
public PrintWriter getWriter() throws IOException { throw new ServletDebugException(); }
public void setBufferSize(int arg0) { throw new ServletDebugException(); }
public String getRequestedSessionId() { throw new ServletDebugException(); }
public void setAttribute(String arg0, Object arg1) { throw new ServletDebugException(); }
@Override public AsyncContext startAsync() throws IllegalStateException { throw new ServletDebugException(); }
public long getDateHeader(String arg0) { throw new ServletDebugException(); }
public HttpSession getSession() { throw new ServletDebugException(); }
public boolean isRequestedSessionIdFromCookie() { throw new ServletDebugException(); }
public ServletInputStream getInputStream() throws IOException { throw new ServletDebugException(); }
public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException { if (!arg0.equals("UTF-8")) { throw new ServletDebugException(); } }
public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException { if (!arg0.equals("UTF-8")) { throw new ServletDebugException(); } } }
public long getDateHeader(String name) { return original.map(r -> r.getDateHeader(name)) .orElseThrow(() -> new ServletDebugException()); }
public String getLocalAddr() { return original.map(r -> r.getLocalAddr()).orElseThrow(() -> new ServletDebugException()); }
public int getRemotePort() { return original.map(r -> r.getRemotePort()).orElseThrow(() -> new ServletDebugException()); }
public int getIntHeader(String name) { return original.map(r -> r.getIntHeader(name)) .orElseThrow(() -> new ServletDebugException()); }