Interface ContentTypeResolver

All Known Subinterfaces:
ContentTypeResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ContentTypeResolver
Implement this interface to provide a custom mapping from a file name to a [[akka.http.javadsl.model.ContentType]].
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a Scala DSL representation of this content type resolver
    resolve(String fileName)