async.net.http.impl
Class DefaultHttpRequest

java.lang.Object
  extended by async.net.http.impl.DefaultHttpRequest
All Implemented Interfaces:
HttpRequest

public class DefaultHttpRequest
extends Object
implements HttpRequest


Constructor Summary
DefaultHttpRequest(InputStream stream)
           
 
Method Summary
 void flush()
           
 Map<String,String> getHeaders()
           
 String getPath()
           
 String getQueryString()
           
 HTTPType getType()
           
 void setOutputStream(OutputStream outStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpRequest

public DefaultHttpRequest(InputStream stream)
                   throws IOException,
                          HttpError
Throws:
IOException
HttpError
Method Detail

getType

public HTTPType getType()
Specified by:
getType in interface HttpRequest

getPath

public String getPath()
Specified by:
getPath in interface HttpRequest

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface HttpRequest

getQueryString

public String getQueryString()
Specified by:
getQueryString in interface HttpRequest

setOutputStream

public void setOutputStream(OutputStream outStream)
Specified by:
setOutputStream in interface HttpRequest

flush

public void flush()
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.