Interface Response
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAdds a header with the given name without replacing any same-named headers that already exist.voidReplaces all headers with the given name with a header with the given value.voidsetStatus(int status) void
-
Method Details
-
addCookie
-
addHeader
-
getHeaders
Headers getHeaders()- Returns:
- Read-only instance.
-
getStatus
Status getStatus() -
openBodyStream
- Throws:
IOException
-
setHeader
-
setStatus
-
setStatus
void setStatus(int status)
-