public interface HttpApplication
HttpApplication instance.
If the application should expose OpenAPI API Descriptors, the DescribedHttpApplication interface should
be used instead of this one.
The implementation of this class will be loaded using the ServiceLoader framework.
| Modifier and Type | Method and Description |
|---|---|
Factory<Buffer> |
getBufferFactory()
|
Handler |
start()
Gets the root
Handler that will handle all HTTP requests. |
void |
stop()
Called when HTTP application is shutdown.
|
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
Buffers 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 © 2025 Open Identity Platform Community. All rights reserved.