Package org.apache.pekko.http.javadsl.server.directives
package org.apache.pekko.http.javadsl.server.directives
- 
ClassDescriptionImplement this interface to provide a custom mapping from a file name to a [[org.apache.pekko.http.javadsl.model.ContentType]].INTERNAL API – used for consistency specsDirectives that load files and resources.Additional metadata about the file being uploaded/that was uploaded using theFileUploadDirectivesEXPERIMENTAL APIOnly path prefixes are matched by these methods, since any kind of chaining path extractions in Java would just look cumbersome without operator overloads; hence, no PathMatcher for Java.INTERNAL APIRepresents HTTP Basic or OAuth2 authentication credentials supplied with a request.