public interface UserServiceGetResponse
UserServiceGetRequest.processRequest(UserServiceGetContext, UserServiceGetResponse)| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Returns a
OutputStream suitable for writing binary data in
the response. |
void |
setContentType(String aType)
Sets the MIME type of the response being sent to the client.
|
void |
setHeader(String aName,
String aValue)
Sets a response header with the given name and value.
|
void setContentType(String aType)
getOutputStream().aType - the MIME type.void setHeader(String aName, String aValue)
getOutputStream().aName - the name of the headeraValue - the header value. If it contains octet string,
it should be encoded according to RFC 2047.OutputStream getOutputStream()
OutputStream suitable for writing binary data in
the response.null.