# 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 Type
  Method
  Description
  `IdHTTPResponseType`
  `execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information)`
  Execute the core.
  `static IdHTTPHandlerFunctionalCoreType`
  `withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPHandlerFunctionalCoreTransactionalType inCore)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### withTransaction

    public static IdHTTPHandlerFunctionalCoreType withTransaction(com.io7m.repetoir.core.RPServiceDirectoryType inServices, IdHTTPHandlerFunctionalCoreTransactionalType inCore)
    Parameters:
      `inServices` - The services
      `inCore` - 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: `IdHTTPHandlerFunctionalCoreType`
    Execute the core.
    Specified by:
      `execute` in interface `IdHTTPHandlerFunctionalCoreType`
    Parameters:
      `request` - The request
      `information` - The request information
    Returns:
      The response