|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxymaRequest
This the "Adapter" interface that will be used by Proxyma to manage client requests. Any concrete class that implements this interface can be used as Client request by Proxyma. Through this interface Proxyma can transparently handle "Servlet" or "Portlet" requests in the same way.
NOTE: this software is released under GPL License. See the LICENSE of this distribution for more informations.
Method Summary | |
---|---|
java.lang.String |
getCharacterEncoding()
Returns the name of the character encoding style used in this request. |
java.lang.String |
getContentType()
Returns the MIME type of the content of the request, or null if the type is not known. |
java.lang.String |
getContextURLPath()
Returns the base path of proxyma from the request (without host, port, protocol and query string) |
javax.servlet.http.Cookie[] |
getCookies()
Returns an array containing all of the Cookie objects the browser sent with this request. |
java.lang.String |
getHeader(java.lang.String headerName)
Returns the value of the specified request header as a String. |
java.util.Enumeration<java.lang.String> |
getHeaderNames()
Returns an enumeration of all the header names this request contains. |
java.util.Enumeration |
getHeaders(java.lang.String headerName)
Returns all the values of the specified request header as an Enumeration of String objects. |
java.io.InputStream |
getInputStream()
Returns the input stream for read the request's data sent by the client |
java.lang.String |
getMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT. |
java.lang.String |
getParameter(java.lang.String parameterName)
Returns the value of the asked parameter |
java.util.Enumeration |
getParameterNames()
Returns the names of the parameters into the request |
java.lang.String |
getProtocol()
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1. |
java.lang.String |
getQueryString()
Returns the query string that is contained in the request URL after the path. |
java.lang.String |
getRemoteAddress()
Returns the Internet Protocol (IP) address of the client that sent the request. |
java.lang.String |
getRemoteHost()
Returns the fully qualified name of the client that sent the request. |
java.lang.String |
getRemoteUser()
Returns the name of the user making this request, if the user has logged in using HTTP authentication. |
java.lang.String |
getRequestURI()
Get the absoute requested path (without protocol, host, port and query string) |
java.lang.String |
getScheme()
Returns the sheme used by the client to send the request. |
java.lang.String |
getServerName()
Returns the host name of the server that received the request. |
int |
getServerPort()
Returns the port number on which this request was received. |
java.lang.String |
getSubPath()
Returns the path of the request (without protocol, host, port, proxyma context and query string) |
Method Detail |
---|
java.util.Enumeration<java.lang.String> getHeaderNames()
java.lang.String getHeader(java.lang.String headerName)
java.util.Enumeration getHeaders(java.lang.String headerName)
java.lang.String getContextURLPath()
java.lang.String getSubPath()
java.lang.String getRequestURI()
java.lang.String getQueryString()
java.lang.String getMethod()
java.lang.String getParameter(java.lang.String parameterName)
parameterName
- The namwe of the reqested paramenter
java.util.Enumeration getParameterNames()
java.lang.String getProtocol()
java.lang.String getContentType()
java.lang.String getCharacterEncoding()
javax.servlet.http.Cookie[] getCookies()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.lang.String getScheme()
java.lang.String getServerName()
int getServerPort()
java.lang.String getRemoteHost()
java.lang.String getRemoteAddress()
java.lang.String getRemoteUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |