Interface Directives
- All Superinterfaces:
- AttributeDirectives,- BasicDirectives,- CacheConditionDirectives,- CodingDirectives,- CookieDirectives,- DebuggingDirectives,- ExecutionDirectives,- FileAndResourceDirectives,- FileUploadDirectives,- FormFieldDirectives,- FormFieldDirectivesInstances,- FramedEntityStreamingDirectives,- FutureDirectives,- HeaderDirectives,- HostDirectives,- ImplicitPathMatcherConstruction,- MarshallingDirectives,- MethodDirectives,- MiscDirectives,- ParameterDirectives,- ParameterDirectivesInstances,- PathDirectives,- PathMatchers,- RangeDirectives,- RespondWithDirectives,- RouteConcatenation,- RouteDirectives,- SchemeDirectives,- SecurityDirectives,- TimeoutDirectives,- ToNameReceptacleEnhancements,- WebSocketDirectives
- All Known Implementing Classes:
- Directives$,- HttpApp
public interface Directives
extends RouteConcatenation, BasicDirectives, CacheConditionDirectives, CookieDirectives, DebuggingDirectives, CodingDirectives, ExecutionDirectives, FileAndResourceDirectives, FileUploadDirectives, FormFieldDirectives, FutureDirectives, HeaderDirectives, HostDirectives, MarshallingDirectives, MethodDirectives, MiscDirectives, ParameterDirectives, TimeoutDirectives, PathDirectives, RangeDirectives, RespondWithDirectives, RouteDirectives, SchemeDirectives, SecurityDirectives, WebSocketDirectives, FramedEntityStreamingDirectives, AttributeDirectives
Collects all default directives into one trait for simple importing.
 
 See pekko.http.javadsl.server.AllDirectives for JavaDSL equivalent of this trait.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.FileAndResourceDirectivesFileAndResourceDirectives.DirectoryRenderer, FileAndResourceDirectives.DirectoryRenderer$, FileAndResourceDirectives.LowLevelDirectoryRenderer, FileAndResourceDirectives.ResourceFile, FileAndResourceDirectives.ResourceFile$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectivesFormFieldDirectives.FieldSpec, FormFieldDirectives.FieldSpec$, FormFieldDirectives.Impl$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectivesParameterDirectives.ParamSpec, ParameterDirectives.ParamSpec$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.PathDirectivesPathDirectives.TrailingRetryRejection$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.PathMatchersPathMatchers.HexIntNumber$, PathMatchers.HexLongNumber$, PathMatchers.IntNumber$, PathMatchers.LongNumber$, PathMatchers.NumberMatcher<T>, PathMatchers.PathEnd$, PathMatchers.Remaining$, PathMatchers.RemainingPath$, PathMatchers.Segment$, PathMatchers.Slash$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.RouteConcatenationRouteConcatenation.RouteWithConcatenation
- 
Method SummaryMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.AttributeDirectivesattribute, optionalAttributeMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.BasicDirectivescancelRejection, cancelRejections, cancelRejections, extract, extractActorSystem, extractDataBytes, extractExecutionContext, extractLog, extractMatchedPath, extractMaterializer, extractParserSettings, extractRequest, extractRequestContext, extractRequestEntity, extractSettings, extractStrictEntity, extractStrictEntity, extractUnmatchedPath, extractUri, mapInnerRoute, mapRejections, mapRequest, mapRequestContext, mapResponse, mapResponseEntity, mapResponseHeaders, mapRouteResult, mapRouteResultFuture, mapRouteResultPF, mapRouteResultWith, mapRouteResultWithPF, mapSettings, mapUnmatchedPath, pass, provide, recoverRejections, recoverRejectionsWith, textract, toStrictEntity, toStrictEntity, tprovide, withExecutionContext, withLog, withMaterializer, withSettingsMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.CacheConditionDirectivesconditional, conditional, conditional, conditionalMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.CodingDirectivesdecodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupportMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.CookieDirectivescookie, deleteCookie, deleteCookie, findCookie, optionalCookie, setCookieMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.DebuggingDirectiveslogRequest, logRequestResult, logResultMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectiveshandleExceptions, handleRejectionsMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FileAndResourceDirectives_defaultClassLoader, conditionalFor, getFromBrowseableDirectories, getFromBrowseableDirectory, getFromDirectory, getFromFile, getFromFile, getFromFile, getFromResource, getFromResource, getFromResourceDirectory, listDirectoryContentsMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FileUploadDirectivesfileUpload, fileUploadAll, storeUploadedFile, storeUploadedFilesMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectivesformFieldMap, formFieldMultiMap, formFieldSeqMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectivesInstancesformField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formField, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFields, formFieldsMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FramedEntityStreamingDirectivesasSourceOf, asSourceOf, asSourceOfInternalMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FutureDirectivescompleteOrRecoverWith, onComplete, onCompleteWithBreaker, onSuccessMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.HeaderDirectivescheckSameOrigin, headerValue, headerValueByName, headerValueByType, headerValuePF, optionalHeaderValue, optionalHeaderValueByName, optionalHeaderValueByType, optionalHeaderValuePF, optionalValueMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.HostDirectivesextractHost, host, host, hostMethods inherited from interface org.apache.pekko.http.scaladsl.server.ImplicitPathMatcherConstruction_regex2PathMatcher, _segmentStringToPathMatcher, _stringExtractionPair2PathMatcher, _stringNameOptionReceptacle2PathMatcher, _valueMap2PathMatcherMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.MarshallingDirectivesas, completeWith, entity, handleWith, instanceOfMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.MethodDirectivesdelete, extractMethod, get, head, method, options, overrideMethodWithParameter, patch, post, putMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.MiscDirectivesextractClientIP, rejectEmptyResponse, requestEntityEmpty, requestEntityPresent, selectPreferredLanguage, validate, withoutSizeLimit, withSizeLimitMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectivesparameterMap, parameterMultiMap, parameterSeqMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectivesInstancesparameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parameters, parametersMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.PathDirectivesignoreTrailingSlash, path, pathEnd, pathEndOrSingleSlash, pathPrefix, pathPrefixTest, pathSingleSlash, pathSuffix, pathSuffixTest, rawPathPrefix, rawPathPrefixTest, redirectToNoTrailingSlashIfPresent, redirectToTrailingSlashIfMissingMethods inherited from interface org.apache.pekko.http.scaladsl.server.PathMatchersDoubleNumber, HexIntNumber, HexLongNumber, IntNumber, JavaUUID, LongNumber, Neutral, not, nothingMatcher, PathEnd, Remaining, RemainingPath, Segment, Segments, Segments, Segments, separateOnSlashes, SlashMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.RangeDirectiveswithRangeSupportMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.RespondWithDirectivesrespondWithDefaultHeader, respondWithDefaultHeaders, respondWithDefaultHeaders, respondWithHeader, respondWithHeaders, respondWithHeadersMethods inherited from interface org.apache.pekko.http.scaladsl.server.RouteConcatenation_enhanceRouteWithConcatenation, concatMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.RouteDirectivescomplete, complete, complete, failWith, handle, handle, handle, handleSync, handleSync, handleSync, redirect, reject, rejectMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.SchemeDirectivesextractScheme, schemeMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.SecurityDirectivesauthenticateBasic, authenticateBasicAsync, authenticateBasicPF, authenticateBasicPFAsync, authenticateOAuth2, authenticateOAuth2Async, authenticateOAuth2PF, authenticateOAuth2PFAsync, authenticateOrRejectWithChallenge, authenticateOrRejectWithChallenge, authorize, authorize, authorizeAsync, authorizeAsync, extractCredentials, extractCredentialsAndAuthenticateOrRejectWithChallengeMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.TimeoutDirectivesextractRequestTimeout, withoutRequestTimeout, withRequestTimeout, withRequestTimeout, withRequestTimeout, withRequestTimeoutResponseMethods inherited from interface org.apache.pekko.http.scaladsl.common.ToNameReceptacleEnhancements_string2NR, _symbol2NRMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.WebSocketDirectivesextractOfferedWsProtocols, extractWebSocketUpgrade, handleWebSocketMessages, handleWebSocketMessagesForOptionalProtocol, handleWebSocketMessagesForProtocol