Class FaviconProvider

java.lang.Object
org.apache.juneau.rest.server.convention.FaviconProvider

public class FaviconProvider extends Object
Flavor-neutral favicon worker bean shared by the favicon @Rest flavors.

Holds the capability state (the icon bytes + Cache-Control header value) and the serve logic (build an HttpResource with Content-Type: image/x-icon + the cache header). The FaviconMixin (mixin), FaviconResource (child), and FaviconServlet (servlet) flavors are independent @Rest classes that each hold a FaviconProvider worker and delegate to it — so the three deployment forms cannot drift, and no flavor is another flavor's worker.

See Also:
Since:
10.0.0