
cat.inspiracio.servlet.http.InitialHttpServletRequest Maven / Gradle / Ivy
/*
Copyright 2016 Alexander Bunkenburg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package cat.inspiracio.servlet.http;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.Principal;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletInputStream;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
public class InitialHttpServletRequest implements HttpServletRequest {
protected InitialHttpServletRequest(){}
@Override public Object getAttribute(String name){throw new RuntimeException();}
@Override public Enumeration getAttributeNames(){throw new RuntimeException();}
@Override public String getCharacterEncoding(){throw new RuntimeException();}
@Override public void setCharacterEncoding(String env)throws UnsupportedEncodingException{throw new RuntimeException();}
@Override public int getContentLength(){throw new RuntimeException();}
@Override public String getContentType(){throw new RuntimeException();}
@Override public ServletInputStream getInputStream() throws IOException{throw new RuntimeException();}
@Override public String getParameter(String name){throw new RuntimeException();}
@Override public Enumeration getParameterNames(){throw new RuntimeException();}
@Override public String[] getParameterValues(String name){throw new RuntimeException();}
@Override public Map getParameterMap(){throw new RuntimeException();}
@Override public String getProtocol(){throw new RuntimeException();}
@Override public String getScheme(){throw new RuntimeException();}
@Override public String getServerName(){throw new RuntimeException();}
@Override public int getServerPort(){throw new RuntimeException();}
@Override public BufferedReader getReader() throws IOException{throw new RuntimeException();}
@Override public String getRemoteAddr(){throw new RuntimeException();}
@Override public String getRemoteHost(){throw new RuntimeException();}
@Override public void setAttribute(String name, Object o){throw new RuntimeException();}
@Override public void removeAttribute(String name){throw new RuntimeException();}
@Override public Locale getLocale(){throw new RuntimeException();}
@Override public Enumeration getLocales(){throw new RuntimeException();}
@Override public boolean isSecure(){throw new RuntimeException();}
@Override public RequestDispatcher getRequestDispatcher(String path){throw new RuntimeException();}
@Override public String getRealPath(String path){throw new RuntimeException();}
@Override public int getRemotePort(){throw new RuntimeException();}
@Override public String getLocalName(){throw new RuntimeException();}
@Override public String getLocalAddr(){throw new RuntimeException();}
@Override public int getLocalPort(){throw new RuntimeException();}
@Override public String getAuthType(){throw new RuntimeException();}
@Override public Cookie[] getCookies(){throw new RuntimeException();}
@Override public long getDateHeader(String name){throw new RuntimeException();}
@Override public String getHeader(String name){throw new RuntimeException();}
@Override public Enumeration getHeaders(String name){throw new RuntimeException();}
@Override public Enumeration getHeaderNames(){throw new RuntimeException();}
@Override public int getIntHeader(String name){throw new RuntimeException();}
@Override public String getMethod(){throw new RuntimeException();}
@Override public String getPathInfo(){throw new RuntimeException();}
@Override public String getPathTranslated(){throw new RuntimeException();}
@Override public String getContextPath(){throw new RuntimeException();}
@Override public String getQueryString(){throw new RuntimeException();}
@Override public String getRemoteUser(){throw new RuntimeException();}
@Override public boolean isUserInRole(String role){throw new RuntimeException();}
@Override public Principal getUserPrincipal(){throw new RuntimeException();}
@Override public String getRequestedSessionId(){throw new RuntimeException();}
@Override public String getRequestURI(){throw new RuntimeException();}
@Override public StringBuffer getRequestURL(){throw new RuntimeException();}
@Override public String getServletPath(){throw new RuntimeException();}
@Override public HttpSession getSession(boolean create){throw new RuntimeException();}
@Override public HttpSession getSession(){throw new RuntimeException();}
@Override public boolean isRequestedSessionIdValid(){throw new RuntimeException();}
@Override public boolean isRequestedSessionIdFromCookie(){throw new RuntimeException();}
@Override public boolean isRequestedSessionIdFromURL(){throw new RuntimeException();}
@Override public boolean isRequestedSessionIdFromUrl(){throw new RuntimeException();}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy