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.
Implement this interface to provide a custom mapping from a file name to a [[akka.http.javadsl.model.ContentType]].
-
Method Summary
Modifier and TypeMethodDescriptiondefault ContentTypeResolver
asScala()
Returns a Scala DSL representation of this content type resolver
-
Method Details
-
resolve
-
asScala
Returns a Scala DSL representation of this content type resolver
-