static GXOutboundSuccessResponse |
GXOutboundSuccessResponse.newCREATEResponse(URI location) |
Builds a new response with the CREATE HTTP status.
|
static GXOutboundSuccessResponse |
GXOutboundSuccessResponse.newOKResponse() |
Builds a new response with the OK HTTP status.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.ofType(String type) |
Adds a type to the response message.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.ofType(javax.ws.rs.core.MediaType type) |
Adds a type to the response message.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.withContent(InputStream is) |
Reads from the stream the content to set in the response.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.withContent(Object o) |
Sets the object as response's content.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.withContent(String message) |
Sets the message as the response's content.
|
GXOutboundSuccessResponse |
GXOutboundSuccessResponse.withHeader(String name,
Object value) |
Add an arbitrary header.
|