Class JettyResponseWrapper
java.lang.Object
is.galia.resource.JettyResponseWrapper
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
JettyResponseWrapper
public JettyResponseWrapper(org.eclipse.jetty.server.Response jettyResponse)
-
-
Method Details
-
addCookie
-
addHeader
-
getHeaders
- Specified by:
getHeaders
in interfaceResponse
- Returns:
- Read-only instance.
-
openBodyStream
- Specified by:
openBodyStream
in interfaceResponse
- Throws:
IOException
-
getStatus
-
setHeader
-
setStatus
-
setStatus
-