org.apache.xmlrpc.webserver
public class HttpServletRequestImpl extends Object implements HttpServletRequest
Constructor Summary | |
---|---|
HttpServletRequestImpl(Socket pSocket) Creates a new instance, which reads input from the given
socket. |
Method Summary | |
---|---|
protected void | addHeader(String pHeader, String pValue) |
Object | getAttribute(String pKey) |
Enumeration | getAttributeNames() |
String | getAuthType() |
String | getCharacterEncoding() |
int | getContentLength() |
String | getContentType() |
String | getContextPath() |
Cookie[] | getCookies() |
long | getDateHeader(String arg0) |
String | getHeader(String pHeader) |
Enumeration | getHeaderNames() |
Enumeration | getHeaders(String pHeader) |
protected String | getHttpVersion() |
ServletInputStream | getInputStream() |
int | getIntHeader(String pHeader) |
String | getLocalAddr() |
Locale | getLocale() |
Enumeration | getLocales() |
String | getLocalName() |
int | getLocalPort() |
String | getMethod() |
String | getParameter(String pName) |
Map | getParameterMap() |
Enumeration | getParameterNames() |
String[] | getParameterValues(String pName) |
String | getPathInfo() |
String | getPathTranslated() |
String | getProtocol() |
String | getQueryString() |
BufferedReader | getReader() |
String | getRealPath(String pPath) |
String | getRemoteAddr() |
String | getRemoteHost() |
int | getRemotePort() |
String | getRemoteUser() |
RequestDispatcher | getRequestDispatcher(String pUri) |
String | getRequestedSessionId() |
String | getRequestURI() |
StringBuffer | getRequestURL() |
String | getScheme() |
String | getServerName() |
int | getServerPort() |
String | getServletPath() |
HttpSession | getSession() |
HttpSession | getSession(boolean pCreate) |
Principal | getUserPrincipal() |
boolean | isRequestedSessionIdFromCookie() |
boolean | isRequestedSessionIdFromUrl() |
boolean | isRequestedSessionIdFromURL() |
boolean | isRequestedSessionIdValid() |
boolean | isSecure() |
boolean | isUserInRole(String pRole) |
protected void | parseParameters() |
protected String | readLine(byte[] pBuffer) Read the header lines, one by one. |
void | removeAttribute(String pKey) |
void | setAttribute(String pKey, Object pValue) |
void | setCharacterEncoding(String pEncoding) |
Parameters: pSocket The socket, to which the client is connected.
Throws: IOException Accessing the sockets input stream failed.