public interface Application extends Disposable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PACKAGE_NAME |
static Response |
NOT_FOUND
RequestPath not found. |
| Modifier and Type | Method and Description |
|---|---|
Modules |
getModules()
Obtain
Modules. |
RouteRegistry |
getRouteRegistry()
Obtain
RouteRegistry. |
Response |
processRequest(RequestPath path,
RequestContext context,
ResponseContext responseContext)
Process request.
|
void |
run(ApplicationContext resolver,
ApplicationProperties props,
Collection<ClassCollector> collectors,
ClassLoader classLoader)
Run application.
|
disposestatic final String DEFAULT_PACKAGE_NAME
static final Response NOT_FOUND
RequestPath not found.void run(ApplicationContext resolver, ApplicationProperties props, Collection<ClassCollector> collectors, ClassLoader classLoader)
resolver - ApplicationContextcollectors - ClassCollectorprops - ApplicationPropertiesclassLoader - ClassLoaderResponse processRequest(RequestPath path, RequestContext context, ResponseContext responseContext) throws IOException, WebApplicationException
Application should be running.path - RequestPathcontext - RequestContextresponseContext - ResponseContextIOExceptionWebApplicationExceptionRouteRegistry getRouteRegistry()
RouteRegistry.RouteRegistryCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.