Package is.galia.resource
package is.galia.resource
HTTP resource classes and server request handler class.
The request handler, RequestHandler
, serves as
the "front controller," dispatching to the various Resource
implementations within this package, underneath
it, and provided by plugins
.
-
ClassDescriptionAbstract class to be extended by all
Resource
implementations that respond to requests for images.Abstract HTTP resource.Handles requests for static files.HeapSessionStore<T extends Session>Thread-safe session store using the Java heap.Distinguishes illegal arguments supplied by an end user from all the rest.High-level image request handler.BuildsImageRequestHandler
instances.Callback for various events that occur during a call toImageRequestHandler.handle(Response)
.High-level information request handler.BuildsInformationRequestHandler
instances.Callback for various events that occur during a call toInformationRequestHandler.handle()
.Writes anInputStream
directly to the response.Representation for serializing objects to JSON strings.Implementation backed by aRequest
.Implementation backed by aResponse
.HTTP response representation a.k.a. body.Contains information about a client request.Handles all requests.HTTP resource.Maps one or more HTTP methods and a URI path regex/pattern to aResource
.Permanently redirects (via HTTP 301)/some/path/
to/some/path
, respecting theKey.BASE_URI
configuration key,X-Forwarded-BasePath
header, and other factors.Representation for Velocity templates.