=doc fix broken links in scala-side HTTP docs
This commit is contained in:
parent
fc301396c6
commit
afe2ed3c79
124 changed files with 128 additions and 128 deletions
|
|
@ -19,7 +19,7 @@ akka-http-core
|
|||
akka-http-core-scala
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: ../../../../akka-http-scala/src/main/resources/reference.conf
|
||||
.. literalinclude:: ../../../../akka-http/src/main/resources/reference.conf
|
||||
:language: none
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ cancelRejection
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: cancelRejection
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ cancelRejections
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: cancelRejections
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Calculates a value from the request context and provides the value to the inner
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extract
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractExecutionContext
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractExecutionContext
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractFlowMaterializer
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractFlowMaterializer
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractLog
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractLog
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Extracts the complete ``HttpRequest`` instance.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractRequest
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractRequestContext
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractRequestContext
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractSettings
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractSettings
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Extracts the unmatched path from the request context.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractUnmatchedPath
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Access the full URI of the request.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: extractUri
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the execution model of the inner route by wrapping it with arbitrary log
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapInnerRoute
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Transforms the list of rejections the inner route produced.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRejections
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Transforms the request before it is handled by the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRequest
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Transforms the ``RequestContext`` before it is passed to the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRequestContext
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the response that was generated by the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapResponse
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the response entity that was generated by the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapResponseEntity
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the list of response headers that was generated by the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapResponseHeaders
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the message the inner route sends to the responder.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRouteResult
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ mapRouteResultFuture
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRouteResultFuture
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Changes the message the inner route sends to the responder.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRouteResultPF
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ mapRouteResultWith
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRouteResultWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ mapRouteResultWithPF
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapRouteResultWithPF
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ mapSettings
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapSettings
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Transforms the unmatchedPath field of the request context for inner routes.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: mapUnmatchedPath
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ A directive that passes the request unchanged to its inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: pass
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Provides a constant value to the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: provide
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ recoverRejections
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: recoverRejections
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ recoverRejectionsWith
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: recoverRejectionsWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Calculates a tuple of values from the request context and provides them to the i
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: textract
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Provides a tuple of values to the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: tprovide
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ withExecutionContext
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: withExecutionContext
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ withFlowMaterializer
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: withFlowMaterializer
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ withLog
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: withLog
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ withSettings
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/BasicDirectives.scala
|
||||
:snippet: withSettings
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ by http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CacheConditionDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CacheConditionDirectives.scala
|
||||
:snippet: conditional
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Tries to decode the request with the specified ``Decoder`` or rejects the reques
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: decodeRequest
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ decodeRequestWith
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: decodeRequestWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Tries to encode the response with the specified ``Encoder`` or rejects the reque
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: encodeResponse
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ encodeResponseWith
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: encodeResponseWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ rejects the request with an ``UnacceptedRequestEncodingRejection(encoding)``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: requestEncodedWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ rejects the request with an ``UnacceptedResponseEncodingRejection(encoding)``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
:snippet: responseEncodingAccepted
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ the cookie is missing.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
:snippet: cookie
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Adds a header to the response to request the removal of the cookie with the give
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
:snippet: deleteCookie
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Extracts an optional cookie with a given name from a request.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
:snippet: optionalCookie
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Adds a header to the response to request the update of the cookie with the given
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/CookieDirectives.scala
|
||||
:snippet: setCookie
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Catches exceptions thrown by the inner route and handles them using the specifie
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ExecutionDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ExecutionDirectives.scala
|
||||
:snippet: handleExceptions
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Handles rejections produced by the inner route and handles them using the specif
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ExecutionDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ExecutionDirectives.scala
|
||||
:snippet: handleRejections
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ served as browsable listings.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromBrowseableDirectories
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ The single-directory variant of :ref:`-getFromBrowseableDirectories-`.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromBrowseableDirectory
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Completes GET requests with the content of a file underneath the given directory
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromDirectory
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Completes GET requests with the content of the given file.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromFile
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Completes GET requests with the content of the given classpath resource.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromResource
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Completes GET requests with the content of the given classpath resource director
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: getFromResourceDirectory
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ directory contents is performed by the in-scope `Marshaller[DirectoryListing]`.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FileAndResourceDirectives.scala
|
||||
:snippet: listDirectoryContents
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ An alias for :ref:`-formFields-`.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FormFieldDirectives.scala
|
||||
:snippet: formField
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ as required, optional, or repeated, or to filter requests where a form field has
|
|||
extract multiple occurrences of field "distance" as ``Iterable[String]``
|
||||
``"distance".as[Int].*``
|
||||
extract multiple occurrences of field "distance" as ``Iterable[Int]``, you need a matching implicit ``Deserializer`` in scope for that to work
|
||||
(see also :ref:`unmarshalling`)
|
||||
(see also :ref:`http-unmarshalling-scala`)
|
||||
``"distance".as(deserializer).*``
|
||||
extract multiple occurrences of field "distance" with an explicit ``Deserializer``
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ with the implicitly given ``ToResponseMarshaller[T]``. Runs the inner route if t
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
:snippet: completeOrRecoverWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ result as a value of type ``Try[T]`` and passes it to the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
:snippet: onComplete
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ extracts its result as a value of type ``T`` and passes it to the inner route.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/FutureDirectives.scala
|
||||
:snippet: onSuccess
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Traverses the list of request headers with the specified function and extracts t
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: headerValue
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Extracts the value of the HTTP request header with the given name.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: headerValueByName
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ result of calling the function.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: headerValuePF
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Traverses the list of request headers with the specified function and extracts t
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: optionalHeaderValue
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Optionally extracts the value of the HTTP request header with the given name.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: optionalHeaderValueByName
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ result of calling the function.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HeaderDirectives.scala
|
||||
:snippet: optionalHeaderValuePF
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Extracts the hostname part of the Host header value in the request.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HostDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HostDirectives.scala
|
||||
:snippet: extractHost
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ in the request.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/HostDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/HostDirectives.scala
|
||||
:snippet: host
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ inner route. You can use it to decouple marshaller resolution from request comp
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
:snippet: completeWith[T]
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ The ``entity`` method will either pass the ``value`` to the inner route or map t
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
:snippet: entity
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ the in-scope marshaller. ``handleWith`` can be a convenient method combining ``
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MarshallingDirectives.scala
|
||||
:snippet: handleWith
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``DELETE``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: delete
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ extractMethod
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: extractMethod
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``GET``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: get
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``HEAD``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: head
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches HTTP requests based on their method.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: method
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``OPTIONS``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: options
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ overrideMethodWithParameter
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: overrideMethodWithParameter
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``PATCH``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: patch
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``POST``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: post
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Matches requests with HTTP method ``PUT``.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MethodDirectives.scala
|
||||
:snippet: put
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Provides the value of ``X-Forwarded-For``, ``Remote-Address``, or ``X-Real-IP``
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
:snippet: extractClientIP
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Replaces a response with no content with an empty rejection.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
:snippet: rejectEmptyResponse
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Otherwise, the request is rejected.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
:snippet: requestEntityEmpty
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Otherwise, the request is rejected.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
:snippet: requestEntityPresent
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ request with a ``ValidationRejection`` containing the given error message.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/MiscDirectives.scala
|
||||
:snippet: validate
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ An alias for :ref:`-parameters-`.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
:snippet: parameter
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ parameter values.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
:snippet: parameterMap
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ a parameter name to a list of all its values.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
:snippet: parameterMultiMap
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Extracts all parameters at once in the original order as (name, value) tuples of
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/ParameterDirectives.scala
|
||||
:snippet: parameterSeq
|
||||
|
||||
Description
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ as required, optional, or repeated, or to filter requests where a parameter has
|
|||
extract multiple occurrences of parameter "distance" as ``Iterable[String]``
|
||||
``"distance".as[Int].*``
|
||||
extract multiple occurrences of parameter "distance" as ``Iterable[Int]``, you need a matching ``Deserializer`` in scope for that to work
|
||||
(see also :ref:`unmarshalling`)
|
||||
(see also :ref:`http-unmarshalling-scala`)
|
||||
``"distance".as(deserializer).*``
|
||||
extract multiple occurrences of parameter "distance" with an explicit ``Deserializer``
|
||||
|
||||
|
|
@ -89,13 +89,13 @@ Deserialized parameter
|
|||
:snippet: mapped-value
|
||||
|
||||
Repeated parameter
|
||||
+++++++++++++++++++++++++++++
|
||||
++++++++++++++++++
|
||||
|
||||
... includecode2:: ../../../../code/docs/http/scaladsl/server/directives/ParameterDirectivesExamplesSpec.scala
|
||||
:snippet: repeated
|
||||
|
||||
Repeated, deserialized parameter
|
||||
++++++++++++++++++++++
|
||||
++++++++++++++++++++++++++++++++
|
||||
|
||||
... includecode2:: ../../../../code/docs/http/scaladsl/server/directives/ParameterDirectivesExamplesSpec.scala
|
||||
:snippet: mapped-repeated
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ one or more values (depending on the type of the argument).
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: path
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ path has been fully matched by a higher-level :ref:`-path-` or :ref:`-pathPrefix
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathEnd
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ or contains only one single slash.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathEndOrSingleSlash
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ potentially extracts one or more values (depending on the type of the argument).
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathPrefix
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ the unmatched path.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathPrefixTest
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ contains exactly one single slash.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathSingleSlash
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ potentially extracts one or more values (depending on the type of the argument).
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathSuffix
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ the unmatched path.
|
|||
Signature
|
||||
---------
|
||||
|
||||
.. includecode2:: /../../akka-http-scala/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
.. includecode2:: /../../akka-http/src/main/scala/akka/http/scaladsl/server/directives/PathDirectives.scala
|
||||
:snippet: pathSuffixTest
|
||||
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue