Class ExampleHttpApplication
- java.lang.Object
-
- org.forgerock.http.servlet.example.ExampleHttpApplication
-
- All Implemented Interfaces:
org.forgerock.http.DescribedHttpApplication,org.forgerock.http.HttpApplication
public class ExampleHttpApplication extends Object implements org.forgerock.http.DescribedHttpApplication
Example singleHttpApplicationdeployment which registers aHandlerthat returns the application name and matched portion of the request uri.The application name is default for single
HttpApplicationdeployments and can be set for multipleHttpApplicationdeployments.
-
-
Constructor Summary
Constructors Constructor Description ExampleHttpApplication()Default constructor for singleHttpApplicationdeployments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.http.ApiProducer<io.swagger.models.Swagger>getApiProducer()org.forgerock.util.Factory<org.forgerock.http.io.Buffer>getBufferFactory()org.forgerock.http.Handlerstart()voidstop()
-
-
-
Method Detail
-
start
public org.forgerock.http.Handler start()
- Specified by:
startin interfaceorg.forgerock.http.HttpApplication
-
getBufferFactory
public org.forgerock.util.Factory<org.forgerock.http.io.Buffer> getBufferFactory()
- Specified by:
getBufferFactoryin interfaceorg.forgerock.http.HttpApplication
-
stop
public void stop()
- Specified by:
stopin interfaceorg.forgerock.http.HttpApplication
-
getApiProducer
public org.forgerock.http.ApiProducer<io.swagger.models.Swagger> getApiProducer()
- Specified by:
getApiProducerin interfaceorg.forgerock.http.DescribedHttpApplication
-
-