Uses of Class
dev.relism.flash.models.Response
Packages that use Response
Package
Description
-
Uses of Response in dev.relism.flash.ext.jackson
Methods in dev.relism.flash.ext.jackson with parameters of type ResponseModifier and TypeMethodDescriptionSerializesobjto a JSON string and setsContent-Type: application/jsonon the response.LikeJson.write(dev.relism.flash.models.Response, java.lang.Object)but applies a Jackson@JsonViewfilter, restricting serialization to fields visible underview. -
Uses of Response in dev.relism.flash.ext.view.core
Methods in dev.relism.flash.ext.view.core with parameters of type Response -
Uses of Response in dev.relism.flash.models
Methods in dev.relism.flash.models that return ResponseModifier and TypeMethodDescriptionResponse.body(byte[] bytes) Response.chunked(InputStream is) Streaming response with unknown length; written withTransfer-Encoding: chunked.Response.header(byte[] preEncoded) Adds a pre-encoded header (e.g.Adds a response header.Response.redirect(HttpStatus status, String url) Redirect with an explicit 3xx status.302 Found redirect.Sets the body from a handler return value.Response.status(int code) Sets the status code.Response.status(HttpStatus status) Sets the status from anHttpStatusconstant.Response.stream(InputStream is, long length) Streaming response with known length; written withContent-Length.Response.type(ContentType ct) Methods in dev.relism.flash.models with parameters of type Response -
Uses of Response in dev.relism.flash.routing
Methods in dev.relism.flash.routing with parameters of type Response