public class HttpRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpRequest.Header |
Constructor and Description |
---|
HttpRequest() |
HttpRequest(String method,
String uri,
String protocolVersion) |
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
String value) |
String |
get(String key) |
List<HttpRequest.Header> |
getHeaders() |
String |
getMethod() |
String |
getProtocolVersion() |
String |
getRequestUri() |
ByteBuffer |
toByteBuffer(Charset charset) |
String |
toString() |
public List<HttpRequest.Header> getHeaders()
public String getMethod()
public String getRequestUri()
public String getProtocolVersion()
public ByteBuffer toByteBuffer(Charset charset)
Copyright © 2016. All Rights Reserved.