Package akka.http.scaladsl.client
Interface RequestBuilding
-
- All Superinterfaces:
TransformerPipelineSupport
- All Known Subinterfaces:
RouteTest
,ScalatestRouteTest
,Specs2RouteTest
- All Known Implementing Classes:
RequestBuilding$
public interface RequestBuilding extends TransformerPipelineSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RequestBuilding.RequestBuilder
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.client.TransformerPipelineSupport
TransformerPipelineSupport.WithTransformation<A>, TransformerPipelineSupport.WithTransformerConcatenation<A,B>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> scala.Function1<HttpRequest,HttpRequest>
addAttribute(AttributeKey<T> key, T value)
scala.Function1<HttpRequest,HttpRequest>
addCredentials(HttpCredentials credentials)
scala.Function1<HttpRequest,HttpRequest>
addHeader(HttpHeader header)
scala.Function1<HttpRequest,HttpRequest>
addHeader(java.lang.String headerName, java.lang.String headerValue)
scala.Function1<HttpRequest,HttpRequest>
addHeaders(HttpHeader first, scala.collection.immutable.Seq<HttpHeader> more)
RequestBuilding.RequestBuilder
Delete()
RequestBuilding.RequestBuilder
Get()
RequestBuilding.RequestBuilder
Head()
scala.Function1<HttpRequest,HttpRequest>
header2AddHeader(HttpHeader header)
scala.Function1<HttpRequest,HttpRequest>
logRequest(akka.event.LoggingAdapter log, akka.event.Logging.LogLevel level)
scala.Function1<HttpRequest,HttpRequest>
logRequest(scala.Function1<HttpRequest,scala.runtime.BoxedUnit> logFun)
scala.Function1<HttpRequest,HttpRequest>
mapHeaders(scala.Function1<scala.collection.immutable.Seq<HttpHeader>,scala.collection.immutable.Seq<HttpHeader>> f)
RequestBuilding.RequestBuilder
Options()
RequestBuilding.RequestBuilder
Patch()
RequestBuilding.RequestBuilder
Post()
RequestBuilding.RequestBuilder
Put()
scala.Function1<HttpRequest,HttpRequest>
removeHeader(java.lang.Class<?> clazz)
scala.Function1<HttpRequest,HttpRequest>
removeHeader(java.lang.String headerName)
<T extends HttpHeader>
scala.Function1<HttpRequest,HttpRequest>removeHeader(scala.reflect.ClassTag<T> evidence$1)
scala.Function1<HttpRequest,HttpRequest>
removeHeaders(scala.collection.immutable.Seq<java.lang.String> names)
-
Methods inherited from interface akka.http.scaladsl.client.TransformerPipelineSupport
logValue, logValue
-
-
-
-
Method Detail
-
Get
RequestBuilding.RequestBuilder Get()
-
Post
RequestBuilding.RequestBuilder Post()
-
Put
RequestBuilding.RequestBuilder Put()
-
Patch
RequestBuilding.RequestBuilder Patch()
-
Delete
RequestBuilding.RequestBuilder Delete()
-
Options
RequestBuilding.RequestBuilder Options()
-
Head
RequestBuilding.RequestBuilder Head()
-
addHeader
scala.Function1<HttpRequest,HttpRequest> addHeader(HttpHeader header)
-
addHeader
scala.Function1<HttpRequest,HttpRequest> addHeader(java.lang.String headerName, java.lang.String headerValue)
-
addHeaders
scala.Function1<HttpRequest,HttpRequest> addHeaders(HttpHeader first, scala.collection.immutable.Seq<HttpHeader> more)
-
mapHeaders
scala.Function1<HttpRequest,HttpRequest> mapHeaders(scala.Function1<scala.collection.immutable.Seq<HttpHeader>,scala.collection.immutable.Seq<HttpHeader>> f)
-
removeHeader
scala.Function1<HttpRequest,HttpRequest> removeHeader(java.lang.String headerName)
-
removeHeader
<T extends HttpHeader> scala.Function1<HttpRequest,HttpRequest> removeHeader(scala.reflect.ClassTag<T> evidence$1)
-
removeHeader
scala.Function1<HttpRequest,HttpRequest> removeHeader(java.lang.Class<?> clazz)
-
removeHeaders
scala.Function1<HttpRequest,HttpRequest> removeHeaders(scala.collection.immutable.Seq<java.lang.String> names)
-
addAttribute
<T> scala.Function1<HttpRequest,HttpRequest> addAttribute(AttributeKey<T> key, T value)
-
addCredentials
scala.Function1<HttpRequest,HttpRequest> addCredentials(HttpCredentials credentials)
-
logRequest
scala.Function1<HttpRequest,HttpRequest> logRequest(akka.event.LoggingAdapter log, akka.event.Logging.LogLevel level)
-
logRequest
scala.Function1<HttpRequest,HttpRequest> logRequest(scala.Function1<HttpRequest,scala.runtime.BoxedUnit> logFun)
-
header2AddHeader
scala.Function1<HttpRequest,HttpRequest> header2AddHeader(HttpHeader header)
-
-