Package com.io7m.idstore.server.http

# Class IdHTTPHandlerCoreFixedDelay

java.lang.Object
com.io7m.idstore.server.http.IdHTTPHandlerCoreFixedDelay

All Implemented Interfaces:
  `IdHTTPHandlerFunctionalCoreType`

public final class IdHTTPHandlerCoreFixedDelay extends Object implements IdHTTPHandlerFunctionalCoreType
A handler core that executes with a fixed delay.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdHTTPResponseType`
  `execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information)`
  Execute the core.
  `static IdHTTPHandlerFunctionalCoreType`
  `withFixedDelay(com.io7m.repetoir.core.RPServiceDirectoryType services, Duration delay, IdHTTPHandlerFunctionalCoreType inCore)`

  ### Methods inherited from class java.lang.Object

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

- ## Method Details

  - ### withFixedDelay

    public static IdHTTPHandlerFunctionalCoreType withFixedDelay(com.io7m.repetoir.core.RPServiceDirectoryType services, Duration delay, IdHTTPHandlerFunctionalCoreType inCore)
    Parameters:
      `services` - The services
      `delay` - The fixed delay to apply to each execution
      `inCore` - The core
    Returns:
      A handler core that executes with a fixed delay

  - ### 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