Uses of Class
org.gcube.common.gxrest.response.outbound.GXOutboundSuccessResponse
Packages that use GXOutboundSuccessResponse
Package
Description
Outbound responses for web applications.
-
Uses of GXOutboundSuccessResponse in org.gcube.common.gxrest.response.outbound
Methods in org.gcube.common.gxrest.response.outbound that return GXOutboundSuccessResponseModifier and TypeMethodDescriptionstatic GXOutboundSuccessResponseGXOutboundSuccessResponse.newCREATEResponse(URI location) Builds a new response with the CREATE HTTP status.static GXOutboundSuccessResponseGXOutboundSuccessResponse.newOKResponse()Builds a new response with the OK HTTP status.GXOutboundSuccessResponse.ofType(jakarta.ws.rs.core.MediaType type) Adds a type to the response message.Adds a type to the response message.GXOutboundSuccessResponse.withContent(InputStream is) Reads from the stream the content to set in the response.GXOutboundSuccessResponse.withContent(Object o) Sets the object as response's content.GXOutboundSuccessResponse.withContent(String message) Sets the message as the response's content.GXOutboundSuccessResponse.withHeader(String name, Object value) Add an arbitrary header.