Class CAHTTPHandlerCoreInstrumented
java.lang.Object
com.io7m.cardant.server.http.CAHTTPHandlerCoreInstrumented
- All Implemented Interfaces:
CAHTTPHandlerFunctionalCoreType
public final class CAHTTPHandlerCoreInstrumented
extends Object
implements CAHTTPHandlerFunctionalCoreType
A servlet core that executes the given core with instrumentation.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(io.helidon.webserver.http.ServerRequest request, CAHTTPRequestInformation information) Execute the core.withInstrumentation(com.io7m.repetoir.core.RPServiceDirectoryType inServices, CAHTTPHandlerFunctionalCoreType inCore)
-
Method Details
-
withInstrumentation
public static CAHTTPHandlerFunctionalCoreType withInstrumentation(com.io7m.repetoir.core.RPServiceDirectoryType inServices, CAHTTPHandlerFunctionalCoreType inCore) - Parameters:
inServices- The servicesinCore- The core- Returns:
- A servlet core that executes the given core with instrumentation
-
execute
public CAHTTPResponseType execute(io.helidon.webserver.http.ServerRequest request, CAHTTPRequestInformation information) Description copied from interface:CAHTTPHandlerFunctionalCoreTypeExecute the core.- Specified by:
executein interfaceCAHTTPHandlerFunctionalCoreType- Parameters:
request- The requestinformation- The request information- Returns:
- The response
-