|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequest
Interface that the webcontainer recognizes as the types of requests that it can handle. The webcontainer will call the methods on this interface during request processing.
Method Summary | |
---|---|
void |
clearHeaders()
Requests the implementation to clear its headers datastructure. |
java.util.List |
getAllCookieValues(java.lang.String cookieName)
Get the values for the cookie specified. |
java.lang.String |
getAuthType()
Returns the authorization Type of the current request |
java.lang.String |
getCipherSuite()
Returns the cipherSuite |
int |
getContentLength()
Method for getting the Content Length of the Request |
java.lang.String |
getContentType()
Method for getting the Content Type of the Request |
javax.servlet.http.Cookie[] |
getCookies()
Get all the cookies for the request. |
byte[] |
getCookieValue(java.lang.String cookieName)
Get the value for the cookie specified. |
long |
getDateHeader(java.lang.String name)
Returns the header value in long date format |
java.lang.String |
getHeader(java.lang.String headerName)
Returns the value for the specified header requested |
java.util.Enumeration |
getHeaderNames()
Get all client header field names. |
java.util.Enumeration |
getHeaders(java.lang.String headerName)
Returns all values for the specified header requested |
java.io.InputStream |
getInputStream()
Returns the input stream for this request |
int |
getIntHeader(java.lang.String name)
Returns the header value as an int |
java.lang.String |
getLocalAddr()
Returns the local address |
java.lang.String |
getLocalName()
Returns the local name |
int |
getLocalPort()
Returns the local port |
java.lang.String |
getMethod()
Returns the method of the request |
java.security.cert.X509Certificate[] |
getPeerCertificates()
Returns the array of client certificates |
java.lang.String |
getProtocol()
Returns the protocol that the remote agent is speaking |
java.lang.String |
getQueryString()
Get the query string of the request. |
java.lang.String |
getRemoteAddr()
Returns the IP address of the remote agent, or null if not known |
java.lang.String |
getRemoteHost()
Returns the host name of the remote agent, or null if not known |
int |
getRemotePort()
Returns the port used by the remote agent, or null if not known |
java.lang.String |
getRemoteUser()
Returns the remote user for the request |
java.lang.String |
getRequestURI()
Returns the URI of the request |
java.lang.String |
getScheme()
Method that returns the scheme of the request |
java.lang.String |
getServerName()
Returns the Server hostname |
int |
getServerPort()
Returns the port of this connection |
java.lang.String |
getSessionID()
Get the session id for this request |
boolean |
getShouldDestroy()
|
byte[] |
getSSLSessionID()
Get at SSL Session ID |
IResponse |
getWCCResponse()
Returns the webcontainer channel response object for this request |
boolean |
isProxied()
Returns whether the request was sent from the plugin |
boolean |
isSSL()
Method to determine if the request is running on an SSL Connection |
void |
removeHeader(java.lang.String headerName)
|
void |
setShouldClose(boolean b)
|
void |
setShouldDestroy(boolean shouldDestroy)
|
void |
setShouldReuse(boolean b)
|
Method Detail |
---|
java.lang.String getMethod()
java.lang.String getRequestURI()
java.lang.String getRemoteUser()
java.lang.String getAuthType()
java.lang.String getHeader(java.lang.String headerName)
java.util.Enumeration getHeaders(java.lang.String headerName)
long getDateHeader(java.lang.String name)
name
-
int getIntHeader(java.lang.String name)
name
-
void clearHeaders()
java.util.Enumeration getHeaderNames()
int getContentLength()
java.lang.String getContentType()
java.lang.String getProtocol()
java.lang.String getServerName()
int getServerPort()
java.lang.String getRemoteHost()
java.lang.String getRemoteAddr()
int getRemotePort()
java.lang.String getScheme()
java.io.InputStream getInputStream() throws java.io.IOException
InputStream
- the input stream to use
java.io.IOException
java.lang.String getLocalAddr()
java.lang.String getLocalName()
int getLocalPort()
boolean isSSL()
byte[] getSSLSessionID()
java.lang.String getSessionID()
boolean isProxied()
IResponse getWCCResponse()
java.lang.String getCipherSuite()
java.security.cert.X509Certificate[] getPeerCertificates()
java.lang.String getQueryString()
javax.servlet.http.Cookie[] getCookies()
byte[] getCookieValue(java.lang.String cookieName)
name
- the cookie name
java.util.List getAllCookieValues(java.lang.String cookieName)
name
- the cookie name
boolean getShouldDestroy()
void setShouldDestroy(boolean shouldDestroy)
void setShouldReuse(boolean b)
void setShouldClose(boolean b)
void removeHeader(java.lang.String headerName)
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |