public class HttpServerRequest extends Object
Modifier and Type | Method and Description |
---|---|
Charset |
getContentCharset() |
long |
getContentLength() |
String |
getContentType() |
String |
getMethod() |
Reader |
getReader() |
String |
getRequestPath() |
boolean |
isDisconnectedAtEndOfExecute() |
void |
sendResponse(int responseCode,
String contentType,
String payload) |
void |
sendSimpleResponse(int responseCode,
String reasonPhrase) |
void |
setDisconnectedAtEndOfExecute(boolean disconnectedAtEndOfExecute) |
public String getMethod()
public String getRequestPath()
public String getContentType()
public Charset getContentCharset()
public long getContentLength()
public Reader getReader()
public void sendSimpleResponse(int responseCode, String reasonPhrase) throws IOException
IOException
public void sendResponse(int responseCode, String contentType, String payload) throws IOException
IOException
public boolean isDisconnectedAtEndOfExecute()
public void setDisconnectedAtEndOfExecute(boolean disconnectedAtEndOfExecute)
Copyright © 2013. All Rights Reserved.