Package com.io7m.idstore.server.http
Class IdHTTPHandlerCoreInstrumented
java.lang.Object
com.io7m.idstore.server.http.IdHTTPHandlerCoreInstrumented
- All Implemented Interfaces:
IdHTTPHandlerFunctionalCoreType
public final class IdHTTPHandlerCoreInstrumented
extends Object
implements IdHTTPHandlerFunctionalCoreType
A servlet core that executes the given core with instrumentation.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Execute the core.withInstrumentation
(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdUserDomain inDomain, IdHTTPHandlerFunctionalCoreType inCore)
-
Method Details
-
withInstrumentation
public static IdHTTPHandlerFunctionalCoreType withInstrumentation(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdUserDomain inDomain, IdHTTPHandlerFunctionalCoreType inCore) - Parameters:
inServices
- The servicesinDomain
- The user domaininCore
- The core- Returns:
- A servlet core that executes the given core with instrumentation
-
execute
public IdHTTPResponseType execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Description copied from interface:IdHTTPHandlerFunctionalCoreType
Execute the core.- Specified by:
execute
in interfaceIdHTTPHandlerFunctionalCoreType
- Parameters:
request
- The requestinformation
- The request information- Returns:
- The response
-