public final class GatewayHttpApplication extends Object implements HttpApplication
LOGGER
Constructor and Description |
---|
GatewayHttpApplication()
Default constructor called by the HTTP Framework.
|
public GatewayHttpApplication()
public Handler start() throws HttpApplicationException
HttpApplication
Handler
that will handle all HTTP requests.
The Handler
returned from this method MUST be a singleton.
start
in interface HttpApplication
Handler
to handle HTTP requests.HttpApplicationException
- If there is a problem constructing the
root application Handler
.public Factory<Buffer> getBufferFactory()
HttpApplication
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.
getBufferFactory
in interface HttpApplication
Buffer
Factory
or null
.public void stop()
HttpApplication
Implementation should use this method to clear up all remaining resources.
stop
in interface HttpApplication
Copyright 2011-2015 ForgeRock AS.