Package com.io7m.idstore.server.http
Class IdHTTPServletCoreInstrumented
java.lang.Object
com.io7m.idstore.server.http.IdHTTPServletCoreInstrumented
- All Implemented Interfaces:
IdHTTPServletFunctionalCoreType
public final class IdHTTPServletCoreInstrumented
extends Object
implements IdHTTPServletFunctionalCoreType
A servlet core that executes the given core with instrumentation.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information) Execute the core.withInstrumentation(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdUserDomain inDomain, IdHTTPServletFunctionalCoreType inCore)
-
Method Details
-
withInstrumentation
public static IdHTTPServletFunctionalCoreType withInstrumentation(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdUserDomain inDomain, IdHTTPServletFunctionalCoreType inCore) - Parameters:
inServices- The servicesinDomain- The user domaininCore- The core- Returns:
- A servlet core that executes the given core with instrumentation
-
execute
public IdHTTPServletResponseType execute(jakarta.servlet.http.HttpServletRequest request, IdHTTPServletRequestInformation information) Description copied from interface:IdHTTPServletFunctionalCoreTypeExecute the core.- Specified by:
executein interfaceIdHTTPServletFunctionalCoreType- Parameters:
request- The requestinformation- The extra request information- Returns:
- The response
-