Uses of Interface
io.github.grumpystuff.grumpyrest.response.ResponseFactory
Packages that use ResponseFactory
Package
Description
-
Uses of ResponseFactory in io.github.grumpystuff.grumpyrest
Methods in io.github.grumpystuff.grumpyrest with parameters of type ResponseFactoryModifier and TypeMethodDescriptionvoidRestApi.registerResponseFactory(ResponseFactory responseFactory) Registers aResponseFactoryto support new kinds of response values. -
Uses of ResponseFactory in io.github.grumpystuff.grumpyrest.response
Methods in io.github.grumpystuff.grumpyrest.response with parameters of type ResponseFactoryModifier and TypeMethodDescriptionvoidResponseFactoryRegistry.register(ResponseFactory factory) Registers a response factory to this registry, to be used when converting a response value to aResponse. -
Uses of ResponseFactory in io.github.grumpystuff.grumpyrest.response.standard
Classes in io.github.grumpystuff.grumpyrest.response.standard that implement ResponseFactoryModifier and TypeClassDescriptionfinal classThis simply accepts response values that implementResponsethemselves and returns them unchanged.final classConverts any JSON-able value into aResponseby invoking theJsonEngine, then sending the result with HTTP status code 200.final classProduces an empty 200 response when null is returned as a response value.