Package name.martingeisse.grumpyrest.response
package name.martingeisse.grumpyrest.response
-
ClassDescriptionThis exception type can be thrown to immediately finish handling a request and respond with a specific response value.This exception type gets thrown if no response factory can be found for a specific response value.An object that knows how to express itself via HTTP to the client.This factory knows how to turn specific kinds of response values into
Responseobjects.Allows to registerResponseFactorys that provideResponseimplementations for the response values returned by handlers.This interface is used by theResponseto transmit itself to the client.If a handler returns an object implementing this interface, then it will be unwrapped (possibly multiple times if the wrapped value implements this interface again) before an appropriateResponseis created for it.