Class FaviconHandler

java.lang.Object
io.vertx.mutiny.ext.web.handler.FaviconHandler
All Implemented Interfaces:
MutinyDelegate, io.vertx.core.Handler<RoutingContext>, PlatformHandler, Consumer<RoutingContext>

public class FaviconHandler extends Object implements MutinyDelegate, PlatformHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
A handler that serves favicons.

If no file system path is specified it will attempt to serve a resource called `favicon.ico` from the classpath.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final TypeArg<FaviconHandler> __TYPE_ARG
    • DEFAULT_MAX_AGE_SECONDS

      public static final long DEFAULT_MAX_AGE_SECONDS
      The default max age in seconds as set in the cache-control header
      See Also:
  • Constructor Details

    • FaviconHandler

      public FaviconHandler(io.vertx.ext.web.handler.FaviconHandler delegate)
    • FaviconHandler

      public FaviconHandler(Object delegate)
  • Method Details