Uses of Class
com.blackrook.small.SmallResponse.GenericSmallResponse
Package
Description
This package contains the main classes and components that make up the main functions of the framework.
-
Uses of SmallResponse.GenericSmallResponse in com.blackrook.small
Modifier and TypeMethodDescriptionSmallResponse.GenericSmallResponse.addDateHeader
(String headerName, long value) Adds a header date value.SmallResponse.GenericSmallResponse.addDateHeader
(String headerName, Date value) Adds a header date value.Adds a header value.SmallResponse.GenericSmallResponse.attachment()
Sets that this response is an attachment.SmallResponse.GenericSmallResponse.attachment
(String fileName) Sets that this response is an attachment with a filename.Sets the content of the response.SmallResponse.create
(int status) Creates a new response with a default status.Creates a new response with status and content.Creates a new response with 200 OK status and a model-view driven content.SmallResponse.create
(SmallResponse smallResponse) Creates a new response from another SmallResponse, copying the status, content, and the headers.Creates a new response with 200 OK status and content.Creates a new response with 200 OK status and a model-view driven content.SmallResponse.GenericSmallResponse.dateHeader
(String headerName, long value) Sets a header date value.SmallResponse.GenericSmallResponse.dateHeader
(String headerName, Date value) Sets a header date value.Sets a header value.SmallResponse.GenericSmallResponse.status
(int status) Sets the status on this response.Sets the MIME-Type (content type) header for the response.Sets the MIME-Type (content type) header for the response.