Class TokenInjector

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.handlers.injectors.TokenInjector
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class TokenInjector extends PipelinedHandler
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Constructor Details

    • TokenInjector

      public TokenInjector(PipelinedHandler next, TokenManager tokenManager)
      Creates a new instance of TokenInjector
      Parameters:
      next -
      tokenManager -
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Specified by:
      handleRequest in class PipelinedHandler
      Parameters:
      exchange -
      Throws:
      Exception