Package org.baswell.routes

Interface Summary
MetaAuthenticator Authentication implementation for Routes meta page.
RouteByConvention Convention for mapping routes where annotations aren't explicitly provided.
RouteInstancePool When routes are added to RoutingTable as class objects, a route instance must be used each time to process a HTTP request.
RoutesCache By default the Routes engine will sequential check each route method until a match is found.
RoutesLogger Routes will only log error statements using this interface.
 

Class Summary
BasicMetaAuthenticator A MetaAuthenticator that uses HTTP basic authentication.
DefaultRouteInstancePool Create a new route object each time using the default constructor and discards the object after use.
GSONBridge  
JacksonBridge  
JDOMBridge  
MIMETypes Mime type constants that Routes is aware of.
RequestContent<ContentType> Convenience class for accessing the content of a request.
RequestedMediaType The requested media type of an HTTP request.
RequestParameters The parameters from an HTTP request.
RequestPath Details of the HTTP request path (minus the application's context path).
RouteByCamelCaseConvention Uses camel case convention of method names to create new path segments.
RouteByHttpMethodNameConvention Base class RouteByConvention that provides an implementation for respondsToMethods.
RouteByLowercaseConvention Default convention used by Routes.
RoutesConfiguration Global route configuration.
RoutesEngine Routes process engine.
RoutesFilter An entry point for mapping HTTP servlet requests to route methods.
RoutesServlet An entry point for mapping HTTP servlet requests to route methods.
RoutingTable Hub for all routes.
SimpleMetaAuthenticator A simple MetaAuthenticator that uses a static user name and password (provided at construction) and Basic authentication to determine if access to the Routes meta page is allowed.
SimpleRoutesCache A very simple in memory cache implementation.
SystemErrLogger The default Routes logger.
 

Enum Summary
HttpMethod  
MediaType Media types that Routes is aware of.
 

Exception Summary
RedirectTo When thrown from BeforeRoute or Route methods the current request will immediately (no further processing) be redirected to the given redirectUrl.
ReturnHttpResponseStatus When thrown from BeforeRoute or Route methods will be set with the status of this exception and no further processing will continue.
RouteInstanceBorrowException Thrown when a route instance cannot be borrowed from RouteInstancePool for any reason.
RoutesException General exception thrown when Routes are configured incorrectly.
 

Annotation Types Summary
AfterRoute Callback to receive notification after HTTP requests have been routed.
BeforeRoute Callback to receive notification before HTTP requests have been sent to the route method.
Route Route metadata for a route method.
Routes Route metadata for all route methods within the class.