public class ExampleHttpApplication extends Object implements DescribedHttpApplication
HttpApplication deployment which registers a
Handler that returns the application name and matched portion of
the request uri.
The application name is default for single
HttpApplication deployments and can be set for multiple
HttpApplication deployments.
| Constructor and Description |
|---|
ExampleHttpApplication()
Default constructor for single
HttpApplication deployments. |
| Modifier and Type | Method and Description |
|---|---|
ApiProducer<io.swagger.models.Swagger> |
getApiProducer()
Provides the OpenAPI descriptor producer with which to produce the API.
|
Factory<Buffer> |
getBufferFactory()
|
Handler |
start()
Gets the root
Handler that will handle all HTTP requests. |
void |
stop()
Called when HTTP application is shutdown.
|
public ExampleHttpApplication()
HttpApplication deployments.public Handler start()
HttpApplicationHandler that will handle all HTTP requests.
The Handler returned from this method MUST be a singleton.
start in interface HttpApplicationHandler to handle HTTP requests.public Factory<Buffer> getBufferFactory()
HttpApplicationFactory 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.
getBufferFactory in interface HttpApplicationBuffer Factory or null.public void stop()
HttpApplicationImplementation should use this method to clear up all remaining resources.
stop in interface HttpApplicationpublic ApiProducer<io.swagger.models.Swagger> getApiProducer()
DescribedHttpApplicationgetApiProducer in interface DescribedHttpApplicationCopyright © 2025 Open Identity Platform Community. All rights reserved.