Package org.forgerock.http
Class Applications
java.lang.Object
org.forgerock.http.Applications
Utility methods to work with CHF Applications.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic DescribedHttpApplicationdescribedHttpApplication(Handler handler, Factory<Buffer> storage, ApiProducer<io.swagger.models.Swagger> apiProducer) Create a simpleDescribedHttpApplicationthat just returns the provided arguments from the appropriate methods.static HttpApplicationsimpleHttpApplication(Handler handler, Factory<Buffer> storage) Create a simpleHttpApplicationthat just returns the provided arguments from the appropriate methods. 
- 
Method Details
- 
describedHttpApplication
public static DescribedHttpApplication describedHttpApplication(Handler handler, Factory<Buffer> storage, ApiProducer<io.swagger.models.Swagger> apiProducer) Create a simpleDescribedHttpApplicationthat just returns the provided arguments from the appropriate methods.- Parameters:
 handler- TheHandlerto wrap.storage- TheFactorythat will create temporary storageBuffers to handle the processing of requests. Ifnull, a default buffer factory will be used.apiProducer- TheApiProducerto use to expose an OpenAPI API Description.- Returns:
 - The 
HttpApplication. 
 - 
simpleHttpApplication
Create a simpleHttpApplicationthat just returns the provided arguments from the appropriate methods.- Parameters:
 handler- TheHandlerto wrap.storage- TheFactorythat will create temporary storageBuffers to handle the processing of requests. Ifnull, a default buffer factory will be used.- Returns:
 - The 
HttpApplication. 
 
 -