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.
An EndpointContainer is a holder for the structures generated by the DSL.
An EndpointContainer is a holder for the structures generated by the DSL. That is, a container will contain a collection of endpoints, filters, and listeners.
Your EndpointProviders will register with an instance of an endpoint container, which is typically a server instance, such as ScruffyOnNetty (runs on Netty), ScruffyOnGrizzly (runs on Grizzly) or a ScruffyServlet (runs inside a servlet container).
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.
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.