Class ExampleHttpApplication

  • All Implemented Interfaces:
    org.forgerock.http.DescribedHttpApplication, org.forgerock.http.HttpApplication

    public class ExampleHttpApplication
    extends Object
    implements org.forgerock.http.DescribedHttpApplication
    Example single 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 Detail

      • ExampleHttpApplication

        public ExampleHttpApplication()
        Default constructor for single HttpApplication deployments.
    • Method Detail

      • start

        public org.forgerock.http.Handler start()
        Specified by:
        start in interface org.forgerock.http.HttpApplication
      • getBufferFactory

        public org.forgerock.util.Factory<org.forgerock.http.io.Buffer> getBufferFactory()
        Specified by:
        getBufferFactory in interface org.forgerock.http.HttpApplication
      • stop

        public void stop()
        Specified by:
        stop in interface org.forgerock.http.HttpApplication
      • getApiProducer

        public org.forgerock.http.ApiProducer<io.swagger.models.Swagger> getApiProducer()
        Specified by:
        getApiProducer in interface org.forgerock.http.DescribedHttpApplication