Interface Favicon


public sealed interface Favicon
A favicon encoded as PNG image data.

Status responses require favicons to be 64 by 64 pixels. Factory methods validate the source image and encode it as PNG data.

Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets the PNG-encoded favicon image data.
    static Favicon
    Creates a favicon from an image.
    static Favicon
    read(InputStream stream)
    Reads a favicon from an image stream.
    static Favicon
    read(Path path)
    Reads a favicon from an image file.