Interface ContentTypeResolver

All Superinterfaces:
BiFunction<StreamResource,jakarta.servlet.ServletContext,String>, Serializable

public interface ContentTypeResolver extends BiFunction<StreamResource,jakarta.servlet.ServletContext,String>, Serializable
Content type resolver.

Allows to get content type for the given StreamResource instance using the current ServletContext.

Since:
1.0
Author:
Vaadin Ltd