package directives
- Alphabetic
- Public
- Protected
Type Members
- abstract class AttributeDirectives extends HeaderDirectives
- abstract class BasicDirectives extends AnyRef
- abstract class CacheConditionDirectives extends BasicDirectives
- abstract class CodingDirectives extends CacheConditionDirectives
- trait ContentTypeResolver extends AnyRef
Implement this interface to provide a custom mapping from a file name to a akka.http.javadsl.model.ContentType.
Implement this interface to provide a custom mapping from a file name to a akka.http.javadsl.model.ContentType.
- Annotations
- @FunctionalInterface()
- abstract class CookieDirectives extends CodingDirectives
- trait CorrespondsTo extends Annotation
- Annotations
- @Target() @Retention() @InternalApi()
- abstract class CorsDirectives extends FramedEntityStreamingDirectives
Directives for CORS, cross origin requests.
Directives for CORS, cross origin requests.
For an overview on how CORS works, see the MDN web docs page on CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS CORS is part of the WHATWG Fetch "Living Standard" https://fetch.spec.whatwg.org/#http-cors-protocol
This implementation is based on the akka-http-cors project by Lomig Mégard, licensed under the Apache License, Version 2.0.
- abstract class DebuggingDirectives extends CookieDirectives
- abstract class DirectoryListing extends AnyRef
- trait DirectoryRenderer extends AnyRef
- abstract class ExecutionDirectives extends DebuggingDirectives
- abstract class FileAndResourceDirectives extends ExecutionDirectives
Directives that load files and resources.
Directives that load files and resources.
For the directives in this class, the "default classloader" is defined as the classloader that has loaded the akka.actor.ActorSystem class.
- abstract class FileInfo extends AnyRef
Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives
- abstract class FileUploadDirectives extends FileAndResourceDirectives
- abstract class FormFieldDirectives extends FileUploadDirectives
- abstract class FramedEntityStreamingDirectives extends TimeoutDirectives
EXPERIMENTAL API
- abstract class FutureDirectives extends FormFieldDirectives
- abstract class HeaderDirectives extends FutureDirectives
- abstract class HostDirectives extends AttributeDirectives
- abstract class LogEntry extends AnyRef
- abstract class MarshallingDirectives extends HostDirectives
- abstract class MethodDirectives extends MarshallingDirectives
- abstract class MiscDirectives extends MethodDirectives
- abstract class ParameterDirectives extends MiscDirectives
- abstract class PathDirectives extends ParameterDirectives
Only 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.
Only 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.
Just nest path() directives with the required types, ending in pathEnd() if you want to fail further paths.
- abstract class RangeDirectives extends PathDirectives
- abstract class RespondWithDirectives extends RangeDirectives
- final class RouteAdapter extends Route
INTERNAL API
INTERNAL API
- Annotations
- @InternalApi()
- abstract class RouteDirectives extends RespondWithDirectives
- abstract class SchemeDirectives extends RouteDirectives
- abstract class SecurityDirectives extends SchemeDirectives
- abstract class TimeoutDirectives extends WebSocketDirectives
- abstract class TlsDirectives extends CorsDirectives
- abstract class WebSocketDirectives extends SecurityDirectives
Value Members
- object CachingDirectives
- Annotations
- @ApiMayChange()
- object FramedEntityStreamingDirectives extends FramedEntityStreamingDirectives
- object LogEntry
- object RouteAdapter
- object SecurityDirectives