|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
jrun.servlet.RequestWrapper | +--jrun.servlet.JRunRequest
| Field Summary | |
protected boolean |
calledGetInputStream
|
protected java.lang.String |
characterEncoding
|
protected AcceptCharset |
charset_list
|
protected int |
contentLength
|
protected java.lang.String |
contentType
|
protected javax.servlet.http.Cookie[] |
cookies
|
static java.lang.String |
DEFAULT_CHARACTER_ENCODING
|
protected boolean |
gotCookies
|
protected java.io.BufferedReader |
inReader
|
protected AcceptLanguage |
lang_list
|
protected Logger |
logger
|
| Fields inherited from interface jrun.servlet.HttpConstants |
ACCEPT_CHARSET, ACCEPT_LANGUAGE, CACHE_CONTROL, CONNECTION, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, COOKIE, DATE, EXPIRES, HOST, LOCATION, SERVER, SET_COOKIE |
| Constructor Summary | |
JRunRequest(ServletConnection conn,
Logger logger)
|
|
| Method Summary | |
java.lang.String |
getCharacterEncoding()
Returns the character set encoding for the input of this request. |
int |
getContentLength()
Returns the content length of the request. |
java.lang.String |
getContentType()
Returns the content type of the request. |
javax.servlet.http.Cookie[] |
getCookies()
|
javax.servlet.ServletInputStream |
getInputStream()
Returns an input stream for reading the request. |
java.util.Locale |
getLocale()
Returns the preferred locale of the client. |
java.util.Enumeration |
getLocales()
Returns the enumeration of locales from the client. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of the specified query parameter. |
java.util.Enumeration |
getParameterNames()
Returns an enumeration of query parameter names. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the values of the specified parameter for the request as an array of strings, or null if the named parameter does not exist. |
java.io.BufferedReader |
getReader()
Returns a buffered reader for reading text in the request body. |
java.lang.String |
getRequestedSessionId()
|
boolean |
hasMoreElements()
allways returns false. |
java.lang.Object |
nextElement()
|
void |
setCharacterEncoding(java.lang.String enc)
|
| Methods inherited from class jrun.servlet.RequestWrapper |
getHttpRequest, getRequestWrapper, setRequestWrapper |
| Field Detail |
public static final java.lang.String DEFAULT_CHARACTER_ENCODING
protected boolean calledGetInputStream
protected java.io.BufferedReader inReader
protected AcceptLanguage lang_list
protected AcceptCharset charset_list
protected final Logger logger
protected int contentLength
protected java.lang.String contentType
protected java.lang.String characterEncoding
protected javax.servlet.http.Cookie[] cookies
protected boolean gotCookies
| Constructor Detail |
public JRunRequest(ServletConnection conn,
Logger logger)
| Method Detail |
public java.lang.String getCharacterEncoding()
public void setCharacterEncoding(java.lang.String enc)
throws java.io.UnsupportedEncodingException
public int getContentLength()
public java.lang.String getContentType()
public java.util.Locale getLocale()
public java.util.Enumeration getLocales()
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException
public java.lang.String getParameter(java.lang.String name)
public java.util.Enumeration getParameterNames()
public java.lang.String[] getParameterValues(java.lang.String name)
public java.io.BufferedReader getReader()
throws java.io.IOException
java.io.IOException - if an I/O error has occurredpublic javax.servlet.http.Cookie[] getCookies()
public boolean hasMoreElements()
public java.lang.Object nextElement()
java.util.NoSuchElementException - every time called.public java.lang.String getRequestedSessionId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||