Package com.io7m.idstore.server.user_v1
Class IdU1HandlerCoreTransactional
java.lang.Object
com.io7m.idstore.server.user_v1.IdU1HandlerCoreTransactional
- All Implemented Interfaces:
IdHTTPHandlerFunctionalCoreType
public final class IdU1HandlerCoreTransactional
extends Object
implements IdHTTPHandlerFunctionalCoreType
A servlet core that executes the given core with a database transaction.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Execute the core.withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPHandlerFunctionalCoreTransactionalType inCore)
-
Method Details
-
withTransaction
public static IdHTTPHandlerFunctionalCoreType withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPHandlerFunctionalCoreTransactionalType inCore) - Parameters:
inServices- The servicesinCore- The core- Returns:
- A servlet core that executes the given core with a database transaction
-
execute
public IdHTTPResponseType execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Description copied from interface:IdHTTPHandlerFunctionalCoreTypeExecute the core.- Specified by:
executein interfaceIdHTTPHandlerFunctionalCoreType- Parameters:
request- The requestinformation- The request information- Returns:
- The response
-