Package: io.vertx.groovy.ext.web.handler

## [Groovy] Class FaviconHandler

- io.vertx.groovy.ext.web.handler.FaviconHandler

- All Implemented Interfaces and Traits:
    Handler

      @CompileStatic
      class FaviconHandler

  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.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `FaviconHandler (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static FaviconHandler` | `create()` Create a handler with defaults
    `static FaviconHandler` | `create(String path)` Create a handler attempting to load favicon file from the specified path
    `static FaviconHandler` | `create(String path, long maxAgeSeconds)` Create a handler attempting to load favicon file from the specified path, and with the specified max cache time
    `static FaviconHandler` | `create(long maxAgeSeconds)` Create a handler with the specified max cache time
    `Object` | `getDelegate()`
    `void` | `handle(RoutingContext arg0)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### FaviconHandler(Object delegate)

  - ### Method Detail

    - #### static FaviconHandler create()

      Create a handler with defaults

      Returns:
        the handler

    - #### static FaviconHandler create(String path)

      Create a handler attempting to load favicon file from the specified path

      Returns:
        the handler
      Parameters:
        `path` - the path

    - #### static FaviconHandler create(String path, long maxAgeSeconds)

      Create a handler attempting to load favicon file from the specified path, and with the specified max cache time

      Returns:
        the handler
      Parameters:
        `path` - the path
        `maxAgeSeconds` - max how long the file will be cached by browser, in seconds

    - #### static FaviconHandler create(long maxAgeSeconds)

      Create a handler with the specified max cache time

      Returns:
        the handler
      Parameters:
        `maxAgeSeconds` - max how long the file will be cached by browser, in seconds

    - #### Object getDelegate()

    - #### void handle(RoutingContext arg0)