async.net.http.impl
Class DefaultHttpRequest
java.lang.Object
async.net.http.impl.DefaultHttpRequest
- All Implemented Interfaces:
- HttpRequest
public class DefaultHttpRequest
- extends Object
- implements HttpRequest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpRequest
public DefaultHttpRequest(InputStream stream)
throws IOException,
HttpError
- Throws:
IOException
HttpError
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.