public interface HttpApplication
HttpApplication
instance.
The implementation of this class will be loaded using the ServiceLoader
framework.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOGGER
Http Framework core Logger instance.
|
static final org.slf4j.Logger LOGGER
Handler start() throws HttpApplicationException
Handler
that will handle all HTTP requests.
The Handler
returned from this method MUST be a singleton.
Handler
to handle HTTP requests.HttpApplicationException
- If there is a problem constructing the
root application Handler
.Factory<Buffer> getBufferFactory()
Factory
that will create temporary storage
Buffer
s to handle the processing of requests.
May return null
indicating that the container should provide
a default buffer factory.
Buffer
Factory
or null
.void stop()
Implementation should use this method to clear up all remaining resources.
Copyright 2011-2015 ForgeRock AS.