org.mactor.brokers.http
Class HttpRequest

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getData()
           
 java.lang.String getHeader(java.lang.String headerName)
           
 java.util.Map<java.lang.String,java.lang.String> getHeaders()
           
 java.lang.String getMethod()
           
 java.lang.String getRequestedUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

HttpRequest

public HttpRequest(java.io.InputStream is)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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.