Interface Response
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Adds a header with the given name without replacing any same-named headers that already exist.void
Replaces all headers with the given name with a header with the given value.void
setStatus
(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)
-