| java.lang.Object org.apache.openejb.server.httpd.HttpRequestImpl
HttpRequestImpl | public class HttpRequestImpl implements HttpRequest(Code) | | A class to take care of HTTP Requests. It parses headers, content, form and url
parameters.
|
EJBSESSIONID | final protected static String EJBSESSIONID(Code) | | |
HttpRequestImpl | public HttpRequestImpl(URI socketURI)(Code) | | |
getContentLength | public int getContentLength()(Code) | | |
getFormParameter | public String getFormParameter(String name)(Code) | | Gets a form parameter based on the name passed in.
Parameters: name - The name of the form parameter to get The value of the parameter |
getHeader | public String getHeader(String name)(Code) | | Gets a header based the header name passed in.
Parameters: name - The name of the header to get The value of the header |
getMethod | public Method getMethod()(Code) | | Gets the request method.
the request method |
getQueryParameter | public String getQueryParameter(String name)(Code) | | Gets a URL (or query) parameter based on the name passed in.
Parameters: name - The name of the URL (or query) parameter The value of the URL (or query) parameter |
getURI | public URI getURI()(Code) | | Gets the URI for the current URL page.
the URI |
readMessage | protected void readMessage(InputStream input) throws IOException(Code) | | parses the request into the 3 different parts, request, headers, and body
Parameters: input - the data input for this page throws: java.io.IOException - if an exception is thrown |
|
|