public interface HttpServerResponse
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
The content mime type of the response.
|
OutputStream |
getOutputStream()
The OutputStream to print the response body.
|
int |
getStatusCode()
The status code of the response.
|
void |
setContentType(String contentType)
The content mime type of the response.
|
void |
setHeader(String name,
Object value)
Sets a header for the response.
|
void |
setStatusCode(int statusCode)
The status code of the response.
|
OutputStream getOutputStream()
String getContentType()
void setContentType(String contentType)
contentType - The content mime type of the response.int getStatusCode()
void setStatusCode(int statusCode)
statusCode - The status code of the response.Copyright © 2015–2016 Bridje Framework. All rights reserved.