CallerT
- The return type of the terminating methods. Usually this is the type of the FluentHelperBasic
implementation that this helper was called on.FluentHelperBasic.executeRequest(HttpDestinationProperties)
.@Deprecated public interface FluentHelperCustomHttpHeader<CallerT>
FluentHelperBasic
named service
):
service.withHeader("Some Key", "Some Value").and("Another Key", "Another value").onRequestOnly().execute()
Modifier and Type | Method and Description |
---|---|
FluentHelperCustomHttpHeader<CallerT> |
and(String headerName,
String headerValue)
Deprecated.
Use
FluentHelperBasic.withHeader(String, String) instead. |
CallerT |
onRequestAndImplicitRequests()
Deprecated.
Headers will be always applied for both: explicit and implicit request. The distinction between
actual request and CSRF token request has been dropped. Use only
FluentHelperBasic.withHeader(String, String) or FluentHelperBasic.withHeaders(Map) . |
CallerT |
onRequestOnly()
Deprecated.
Headers will be always applied for both: explicit and implicit request. The distinction between
actual request and CSRF token request has been dropped. Use only
FluentHelperBasic.withHeader(String, String) or FluentHelperBasic.withHeaders(Map) . |
@Nonnull @Deprecated FluentHelperCustomHttpHeader<CallerT> and(@Nonnull String headerName, @Nullable String headerValue)
FluentHelperBasic.withHeader(String, String)
instead.headerName
- The header name to add.headerValue
- The header value to add.@Nonnull @Deprecated CallerT onRequestAndImplicitRequests()
FluentHelperBasic.withHeader(String, String)
or FluentHelperBasic.withHeaders(Map)
.@Nonnull @Deprecated CallerT onRequestOnly()
FluentHelperBasic.withHeader(String, String)
or FluentHelperBasic.withHeaders(Map)
.Copyright © 2021 SAP SE. All rights reserved.