Class Directives$
java.lang.Object
org.apache.pekko.http.scaladsl.server.Directives$
- All Implemented Interfaces:
ToNameReceptacleEnhancements,Directives,AttributeDirectives,BasicDirectives,CacheConditionDirectives,CodingDirectives,CookieDirectives,DebuggingDirectives,ExecutionDirectives,FileAndResourceDirectives,FileUploadDirectives,FormFieldDirectives,FormFieldDirectivesInstances,FramedEntityStreamingDirectives,FutureDirectives,HeaderDirectives,HostDirectives,MarshallingDirectives,MethodDirectives,MiscDirectives,ParameterDirectives,ParameterDirectivesInstances,PathDirectives,RangeDirectives,RespondWithDirectives,RouteDirectives,SchemeDirectives,SecurityDirectives,TimeoutDirectives,WebSocketDirectives,ImplicitPathMatcherConstruction,PathMatchers,RouteConcatenation
Collects all default directives into one object for simple importing.
See pekko.http.javadsl.server.Directives for JavaDSL equivalent of this trait.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.FileAndResourceDirectives
FileAndResourceDirectives.DirectoryRenderer, FileAndResourceDirectives.DirectoryRenderer$, FileAndResourceDirectives.LowLevelDirectoryRenderer, FileAndResourceDirectives.ResourceFile, FileAndResourceDirectives.ResourceFile$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectives
FormFieldDirectives.FieldSpec, FormFieldDirectives.FieldSpec$, FormFieldDirectives.Impl$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectives
ParameterDirectives.ParamSpec, ParameterDirectives.ParamSpec$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.directives.PathDirectives
PathDirectives.TrailingRetryRejection$Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.server.PathMatchers
PathMatchers.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.RouteConcatenation
RouteConcatenation.RouteWithConcatenation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Directives$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPathMatcher<scala.Tuple1<Object>>Accessor for nested Scala objectAccessor for nested Scala objectAccessor for nested Scala objectPathMatcher<scala.Tuple1<UUID>>JavaUUID()Accessor for nested Scala objectPathMatcher<scala.runtime.BoxedUnit>Neutral()PathEnd()Accessor for nested Scala objectAccessor for nested Scala objectAccessor for nested Scala objectSegment()Accessor for nested Scala objectPathMatcher<scala.Tuple1<scala.collection.immutable.List<String>>>Segments()Slash()Accessor for nested Scala objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.AttributeDirectives
attribute, optionalAttributeMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.BasicDirectives
cancelRejection, 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.CacheConditionDirectives
conditional, conditional, conditional, conditionalMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.CodingDirectives
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupportMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.CookieDirectives
cookie, deleteCookie, deleteCookie, findCookie, optionalCookie, setCookieMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.DebuggingDirectives
logRequest, logRequestResult, logResultMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives
handleExceptions, 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.FileUploadDirectives
fileUpload, fileUploadAll, storeUploadedFile, storeUploadedFilesMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectives
formFieldMap, formFieldMultiMap, formFieldSeqMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FormFieldDirectivesInstances
formField, 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.FramedEntityStreamingDirectives
asSourceOf, asSourceOf, asSourceOfInternalMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.FutureDirectives
completeOrRecoverWith, onComplete, onCompleteWithBreaker, onSuccessMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.HeaderDirectives
checkSameOrigin, headerValue, headerValueByName, headerValueByType, headerValuePF, optionalHeaderValue, optionalHeaderValueByName, optionalHeaderValueByType, optionalHeaderValuePF, optionalValueMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.HostDirectives
extractHost, 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.MarshallingDirectives
as, completeWith, entity, handleWith, instanceOfMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.MethodDirectives
delete, extractMethod, get, head, method, options, overrideMethodWithParameter, patch, post, putMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.MiscDirectives
extractClientIP, rejectEmptyResponse, requestEntityEmpty, requestEntityPresent, selectPreferredLanguage, validate, withoutSizeLimit, withSizeLimitMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectives
parameterMap, parameterMultiMap, parameterSeqMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.ParameterDirectivesInstances
parameter, 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.PathDirectives
ignoreTrailingSlash, path, pathEnd, pathEndOrSingleSlash, pathPrefix, pathPrefixTest, pathSingleSlash, pathSuffix, pathSuffixTest, rawPathPrefix, rawPathPrefixTest, redirectToNoTrailingSlashIfPresent, redirectToTrailingSlashIfMissingMethods inherited from interface org.apache.pekko.http.scaladsl.server.PathMatchers
not, nothingMatcher, Segments, Segments, separateOnSlashesMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.RangeDirectives
withRangeSupportMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.RespondWithDirectives
respondWithDefaultHeader, 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.RouteDirectives
complete, complete, complete, failWith, handle, handle, handle, handleSync, handleSync, handleSync, redirect, reject, rejectMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.SchemeDirectives
extractScheme, schemeMethods inherited from interface org.apache.pekko.http.scaladsl.server.directives.SecurityDirectives
authenticateBasic, 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.TimeoutDirectives
extractRequestTimeout, 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.WebSocketDirectives
extractOfferedWsProtocols, extractWebSocketUpgrade, handleWebSocketMessages, handleWebSocketMessagesForOptionalProtocol, handleWebSocketMessagesForProtocol
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Directives$
public Directives$()
-
-
Method Details
-
Slash
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
Slashin interfacePathMatchers- Returns:
- (undocumented)
-
PathEnd
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
PathEndin interfacePathMatchers- Returns:
- (undocumented)
-
Remaining
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
Remainingin interfacePathMatchers- Returns:
- (undocumented)
-
RemainingPath
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
RemainingPathin interfacePathMatchers- Returns:
- (undocumented)
-
IntNumber
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
IntNumberin interfacePathMatchers- Returns:
- (undocumented)
-
LongNumber
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
LongNumberin interfacePathMatchers- Returns:
- (undocumented)
-
HexIntNumber
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
HexIntNumberin interfacePathMatchers- Returns:
- (undocumented)
-
HexLongNumber
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
HexLongNumberin interfacePathMatchers- Returns:
- (undocumented)
-
DoubleNumber
- Specified by:
DoubleNumberin interfacePathMatchers
-
JavaUUID
- Specified by:
JavaUUIDin interfacePathMatchers
-
Neutral
- Specified by:
Neutralin interfacePathMatchers
-
Segment
Description copied from interface:PathMatchersAccessor for nested Scala object- Specified by:
Segmentin interfacePathMatchers- Returns:
- (undocumented)
-
Segments
- Specified by:
Segmentsin interfacePathMatchers
-