Package io.github.grumpystuff.grumpyrest.response.standard
package io.github.grumpystuff.grumpyrest.response.standard
-
ClassDescriptionThis simply accepts response values that implement
Responsethemselves and returns them unchanged.Converts any JSON-able value into aResponseby invoking theJsonEngine, then sending the result with HTTP status code 200.Does not respond at all.Produces an empty 200 response when null is returned as a response value.Implements a standard JSON-based error response format, combined with a selectable HTTP status code.Represents an error for a single field.Sends an empty response with a configurable HTTP status code.