org.mactor.brokers.http
Class HttpRequest
java.lang.Object
org.mactor.brokers.http.HttpRequest
public class HttpRequest
- extends java.lang.Object
Represents a HTTP Request
- Author:
- Lars Ivar Almli
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Constructor Summary |
HttpRequest(java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
HttpRequest
public HttpRequest(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
getData
public java.lang.String getData()
getHeader
public java.lang.String getHeader(java.lang.String headerName)
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
getMethod
public java.lang.String getMethod()
getRequestedUrl
public java.lang.String getRequestedUrl()
Copyright © 2008. All Rights Reserved.