Public - may be cached in public shared caches.
Public - may be cached in public shared caches. Private - may only be cached in private cache. No-Cache - may not be cached. No-Store - may be cached but not archived.
Writes out a response to a byte array taking into account the content type.
A trait that provides the entry point to the DSL.
A trait that provides the entry point to the DSL.
Classes / objects that contain the endpoints for your application should extend this trait and call the get/post/delete/etc methods, providing the path to match on and the function chain.
An Mountpoint is a holder for the structures generated by the DSL.
An Mountpoint is a holder for the structures generated by the DSL. That is, a Mountpoint will contain a collection of endpoints, filters, and listeners.
Your EndpointProviders will register with an instance of a mountpoint, for which there are implementations for different servers. For example ScruffyUndertowHttpHandler is a mountpoint that is used as a http handler for Undertow.
A listener can register for callbacks at various times in the scruffy lifecycle, for example on startup, shutdown, and when endpoints are registered.
Instantiates and populates a case class from the query parameters in a request.