Add a processor that acts as a filter.
Add a processor that acts as a filter. A filter is a processsor that will be executed for all matching requests before any processors from the endpoint that handles the request.
This filter will be applied to any endpoints that are mounted after the registration of this filter.
Any filters added here are executed before any endpoint specific filters.
the processor to add
the path to match requests against, defaults to all paths
Registers a ScruffyListener with this endpoint container.
Registers a ScruffyListener with this endpoint container. Multiple listeners can be added.
Mount all the websocket endpoints specified in this endpoint provider.
Mount all the websocket endpoints specified in this endpoint provider. Multiple providers can be registered and the order of registration does not matter.
the WebsocketEndpointProvider that contains the websocket endpoints to register.
Mount all the http endpoints specified in this endpoint provider.
Mount all the http endpoints specified in this endpoint provider. Multiple providers can be registered and the order of registration does not matter.
the HttpEndpointProvider that contains the http endpoints to register.
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).