All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static ServerResponse |
$as(Object obj) |
void |
addTrailers(Object headers) |
void |
end() |
void |
end(Buffer buffer) |
void |
end(Buffer buffer,
Function cb) |
void |
end(Object data) |
void |
end(Object data,
String encoding) |
void |
end(String str) |
void |
end(String str,
Function cb) |
void |
end(String str,
String encoding) |
void |
end(String str,
String encoding,
Function cb) |
String |
getHeader(String name) |
Boolean |
headersSent() |
void |
removeHeader(String name) |
Boolean |
sendDate() |
void |
setHeader(String name,
String value) |
void |
setHeader(String name,
String[] value) |
Number |
statusCode() |
String |
statusMessage() |
Boolean |
write(Buffer buffer) |
Boolean |
write(Buffer buffer,
Function cb) |
Object |
write(Object chunk) |
Object |
write(Object chunk,
String encoding) |
Boolean |
write(String str) |
Boolean |
write(String str,
Function cb) |
Boolean |
write(String str,
String encoding) |
Boolean |
write(String str,
String encoding,
Function cb) |
Boolean |
write(String str,
String encoding,
String fd) |
void |
writeContinue() |
void |
writeHead(double statusCode) |
void |
writeHead(double statusCode,
Object headers) |
void |
writeHead(double statusCode,
String reasonPhrase) |
void |
writeHead(double statusCode,
String reasonPhrase,
Object headers) |