Package akka.http.scaladsl.server
Class Directives$
- java.lang.Object
-
- akka.http.scaladsl.server.Directives$
-
- All Implemented Interfaces:
ToNameReceptacleEnhancements
,Directives
,AttributeDirectives
,BasicDirectives
,CacheConditionDirectives
,CodingDirectives
,CookieDirectives
,CorsDirectives
,DebuggingDirectives
,ExecutionDirectives
,FileAndResourceDirectives
,FileUploadDirectives
,FormFieldDirectives
,FormFieldDirectivesInstances
,FramedEntityStreamingDirectives
,FutureDirectives
,HeaderDirectives
,HostDirectives
,MarshallingDirectives
,MethodDirectives
,MiscDirectives
,ParameterDirectives
,ParameterDirectivesInstances
,PathDirectives
,RangeDirectives
,RespondWithDirectives
,RouteDirectives
,SchemeDirectives
,SecurityDirectives
,TimeoutDirectives
,TlsDirectives
,WebSocketDirectives
,ImplicitPathMatcherConstruction
,PathMatchers
,RouteConcatenation
public class Directives$ extends java.lang.Object implements Directives
Collects all default directives into one object for simple importing.See
Directives
for JavaDSL equivalent of this trait.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.server.directives.FileAndResourceDirectives
FileAndResourceDirectives.DirectoryRenderer, FileAndResourceDirectives.DirectoryRenderer$, FileAndResourceDirectives.LowLevelDirectoryRenderer, FileAndResourceDirectives.ResourceFile, FileAndResourceDirectives.ResourceFile$
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.server.directives.FormFieldDirectives
FormFieldDirectives.FieldDef<T>, FormFieldDirectives.FieldDef$, FormFieldDirectives.FieldMagnet, FormFieldDirectives.FieldMagnet$, FormFieldDirectives.FieldSpec, FormFieldDirectives.FieldSpec$, FormFieldDirectives.Impl$
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.server.directives.ParameterDirectives
ParameterDirectives.ParamDef<T>, ParameterDirectives.ParamDef$, ParameterDirectives.ParamMagnet, ParameterDirectives.ParamMagnet$, ParameterDirectives.ParamSpec, ParameterDirectives.ParamSpec$
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.server.directives.PathDirectives
PathDirectives.TrailingRetryRejection$
-
Nested classes/interfaces inherited from interface akka.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 akka.http.scaladsl.server.RouteConcatenation
RouteConcatenation.RouteWithConcatenation
-
-
Field Summary
Fields Modifier and Type Field Description static Directives$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Directives$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatcher<scala.Tuple1<java.lang.Object>>
DoubleNumber()
PathMatchers.HexIntNumber$
HexIntNumber()
Accessor for nested Scala objectPathMatchers.HexLongNumber$
HexLongNumber()
Accessor for nested Scala objectPathMatchers.IntNumber$
IntNumber()
Accessor for nested Scala objectPathMatcher<scala.Tuple1<java.util.UUID>>
JavaUUID()
PathMatchers.LongNumber$
LongNumber()
Accessor for nested Scala objectPathMatcher<scala.runtime.BoxedUnit>
Neutral()
PathMatchers.PathEnd$
PathEnd()
Accessor for nested Scala objectPathMatchers.Remaining$
Remaining()
Accessor for nested Scala objectPathMatchers.RemainingPath$
RemainingPath()
Accessor for nested Scala objectPathMatchers.Segment$
Segment()
Accessor for nested Scala objectPathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>>
Segments()
PathMatchers.Slash$
Slash()
Accessor for nested Scala object-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.server.directives.AttributeDirectives
attribute, optionalAttribute
-
Methods inherited from interface akka.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, withSettings
-
Methods inherited from interface akka.http.scaladsl.server.directives.CacheConditionDirectives
conditional, conditional, conditional, conditional
-
Methods inherited from interface akka.http.scaladsl.server.directives.CodingDirectives
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupport
-
Methods inherited from interface akka.http.scaladsl.server.directives.CookieDirectives
cookie, deleteCookie, deleteCookie, findCookie, optionalCookie, setCookie
-
Methods inherited from interface akka.http.scaladsl.server.directives.CorsDirectives
cors, cors
-
Methods inherited from interface akka.http.scaladsl.server.directives.DebuggingDirectives
logRequest, logRequestResult, logResult
-
Methods inherited from interface akka.http.scaladsl.server.directives.ExecutionDirectives
handleExceptions, handleRejections
-
Methods inherited from interface akka.http.scaladsl.server.directives.FileAndResourceDirectives
_defaultClassLoader, conditionalFor, getFromBrowseableDirectories, getFromBrowseableDirectory, getFromDirectory, getFromFile, getFromFile, getFromFile, getFromResource, getFromResource, getFromResourceDirectory, listDirectoryContents
-
Methods inherited from interface akka.http.scaladsl.server.directives.FileUploadDirectives
fileUpload, fileUploadAll, storeUploadedFile, storeUploadedFiles
-
Methods inherited from interface akka.http.scaladsl.server.directives.FormFieldDirectives
formField, formFieldMap, formFieldMultiMap, formFields, formFieldSeq
-
Methods inherited from interface akka.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, formFields
-
Methods inherited from interface akka.http.scaladsl.server.directives.FramedEntityStreamingDirectives
asSourceOf, asSourceOf, asSourceOfInternal
-
Methods inherited from interface akka.http.scaladsl.server.directives.FutureDirectives
completeOrRecoverWith, onComplete, onCompleteWithBreaker, onSuccess
-
Methods inherited from interface akka.http.scaladsl.server.directives.HeaderDirectives
checkSameOrigin, headerValue, headerValueByName, headerValueByName, headerValueByType, headerValuePF, optionalHeaderValue, optionalHeaderValueByName, optionalHeaderValueByName, optionalHeaderValueByType, optionalHeaderValuePF, optionalValue
-
Methods inherited from interface akka.http.scaladsl.server.directives.HostDirectives
extractHost, host, host, host
-
Methods inherited from interface akka.http.scaladsl.server.ImplicitPathMatcherConstruction
_regex2PathMatcher, _segmentStringToPathMatcher, _stringExtractionPair2PathMatcher, _stringNameOptionReceptacle2PathMatcher, _valueMap2PathMatcher
-
Methods inherited from interface akka.http.scaladsl.server.directives.MarshallingDirectives
as, completeWith, entity, handleWith, instanceOf
-
Methods inherited from interface akka.http.scaladsl.server.directives.MethodDirectives
delete, extractMethod, get, head, method, options, overrideMethodWithParameter, patch, post, put
-
Methods inherited from interface akka.http.scaladsl.server.directives.MiscDirectives
extractClientIP, rejectEmptyResponse, requestEntityEmpty, requestEntityPresent, selectPreferredLanguage, validate, withoutSizeLimit, withSizeLimit
-
Methods inherited from interface akka.http.scaladsl.server.directives.ParameterDirectives
parameter, parameterMap, parameterMultiMap, parameters, parameterSeq
-
Methods inherited from interface akka.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, parameters
-
Methods inherited from interface akka.http.scaladsl.server.directives.PathDirectives
ignoreTrailingSlash, path, pathEnd, pathEndOrSingleSlash, pathPrefix, pathPrefixTest, pathSingleSlash, pathSuffix, pathSuffixTest, rawPathPrefix, rawPathPrefixTest, redirectToNoTrailingSlashIfPresent, redirectToTrailingSlashIfMissing
-
Methods inherited from interface akka.http.scaladsl.server.PathMatchers
not, nothingMatcher, Segments, Segments, separateOnSlashes
-
Methods inherited from interface akka.http.scaladsl.server.directives.RangeDirectives
withRangeSupport
-
Methods inherited from interface akka.http.scaladsl.server.directives.RespondWithDirectives
respondWithDefaultHeader, respondWithDefaultHeaders, respondWithDefaultHeaders, respondWithHeader, respondWithHeaders, respondWithHeaders
-
Methods inherited from interface akka.http.scaladsl.server.RouteConcatenation
_enhanceRouteWithConcatenation, concat
-
Methods inherited from interface akka.http.scaladsl.server.directives.RouteDirectives
complete, complete, complete, failWith, handle, handle, handle, handleSync, handleSync, handleSync, redirect, reject, reject
-
Methods inherited from interface akka.http.scaladsl.server.directives.SchemeDirectives
extractScheme, scheme
-
Methods inherited from interface akka.http.scaladsl.server.directives.SecurityDirectives
authenticateBasic, authenticateBasicAsync, authenticateBasicPF, authenticateBasicPFAsync, authenticateOAuth2, authenticateOAuth2Async, authenticateOAuth2PF, authenticateOAuth2PFAsync, authenticateOrRejectWithChallenge, authenticateOrRejectWithChallenge, authorize, authorize, authorizeAsync, authorizeAsync, extractCredentials, extractCredentialsAndAuthenticateOrRejectWithChallenge
-
Methods inherited from interface akka.http.scaladsl.server.directives.TimeoutDirectives
extractRequestTimeout, withoutRequestTimeout, withRequestTimeout, withRequestTimeout, withRequestTimeout, withRequestTimeoutResponse
-
Methods inherited from interface akka.http.scaladsl.server.directives.TlsDirectives
extractClientCertificate, extractSslSession, requireClientCertificateIdentity
-
Methods inherited from interface akka.http.scaladsl.common.ToNameReceptacleEnhancements
_string2NR, _symbol2NR
-
Methods inherited from interface akka.http.scaladsl.server.directives.WebSocketDirectives
extractOfferedWsProtocols, extractUpgradeToWebSocket, extractWebSocketUpgrade, handleWebSocketMessages, handleWebSocketMessagesForOptionalProtocol, handleWebSocketMessagesForProtocol
-
-
-
-
Field Detail
-
MODULE$
public static final Directives$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
Slash
public PathMatchers.Slash$ Slash()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
Slash
in interfacePathMatchers
- Returns:
- (undocumented)
-
PathEnd
public PathMatchers.PathEnd$ PathEnd()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
PathEnd
in interfacePathMatchers
- Returns:
- (undocumented)
-
Remaining
public PathMatchers.Remaining$ Remaining()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
Remaining
in interfacePathMatchers
- Returns:
- (undocumented)
-
RemainingPath
public PathMatchers.RemainingPath$ RemainingPath()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
RemainingPath
in interfacePathMatchers
- Returns:
- (undocumented)
-
IntNumber
public PathMatchers.IntNumber$ IntNumber()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
IntNumber
in interfacePathMatchers
- Returns:
- (undocumented)
-
LongNumber
public PathMatchers.LongNumber$ LongNumber()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
LongNumber
in interfacePathMatchers
- Returns:
- (undocumented)
-
HexIntNumber
public PathMatchers.HexIntNumber$ HexIntNumber()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
HexIntNumber
in interfacePathMatchers
- Returns:
- (undocumented)
-
HexLongNumber
public PathMatchers.HexLongNumber$ HexLongNumber()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
HexLongNumber
in interfacePathMatchers
- Returns:
- (undocumented)
-
DoubleNumber
public PathMatcher<scala.Tuple1<java.lang.Object>> DoubleNumber()
- Specified by:
DoubleNumber
in interfacePathMatchers
-
JavaUUID
public PathMatcher<scala.Tuple1<java.util.UUID>> JavaUUID()
- Specified by:
JavaUUID
in interfacePathMatchers
-
Neutral
public PathMatcher<scala.runtime.BoxedUnit> Neutral()
- Specified by:
Neutral
in interfacePathMatchers
-
Segment
public PathMatchers.Segment$ Segment()
Description copied from interface:PathMatchers
Accessor for nested Scala object- Specified by:
Segment
in interfacePathMatchers
- Returns:
- (undocumented)
-
Segments
public PathMatcher<scala.Tuple1<scala.collection.immutable.List<java.lang.String>>> Segments()
- Specified by:
Segments
in interfacePathMatchers
-
-