Class SecurityHttpExceptionHandler

java.lang.Object
org.elasticsearch.xpack.security.transport.SecurityHttpExceptionHandler
All Implemented Interfaces:
BiConsumer<org.elasticsearch.http.HttpChannel,Exception>

public final class SecurityHttpExceptionHandler extends Object implements BiConsumer<org.elasticsearch.http.HttpChannel,Exception>
  • Constructor Details

    • SecurityHttpExceptionHandler

      public SecurityHttpExceptionHandler(org.apache.logging.log4j.Logger logger, org.elasticsearch.common.component.Lifecycle lifecycle, BiConsumer<org.elasticsearch.http.HttpChannel,Exception> fallback)
  • Method Details

    • accept

      public void accept(org.elasticsearch.http.HttpChannel channel, Exception e)
      Specified by:
      accept in interface BiConsumer<org.elasticsearch.http.HttpChannel,Exception>