Uses of Interface
com.sap.cloud.sdk.cloudplatform.requestheader.RequestHeaderContainer.Builder
-
Uses of RequestHeaderContainer.Builder in com.sap.cloud.sdk.cloudplatform.requestheader
Modifier and TypeClassDescriptionstatic class
Implementation of theRequestHeaderContainer.Builder
interface that is able to construct and manipulateDefaultRequestHeaderContainer
s.Modifier and TypeMethodDescriptionDefaultRequestHeaderContainer.Builder.clear()
RequestHeaderContainer.Builder.clear()
Removes all HTTP headers and cookies from thisRequestHeaderContainer.Builder
.DefaultRequestHeaderContainer.Builder.replaceHeader
(String name, RequestHeaderContainer headerContainer) DefaultRequestHeaderContainer.Builder.replaceHeader
(String name, Iterable<String> values) DefaultRequestHeaderContainer.Builder.replaceHeader
(String name, String firstValue, String... furtherValues) RequestHeaderContainer.Builder.replaceHeader
(String name, RequestHeaderContainer headerContainer) Replaces an HTTP header in thisRequestHeaderContainer.Builder
by copying the HTTP header of the givenheaderContainer
.RequestHeaderContainer.Builder.replaceHeader
(String name, Iterable<String> values) Replaces an HTTP header in thisRequestHeaderContainer.Builder
.RequestHeaderContainer.Builder.replaceHeader
(String name, String firstValue, String... furtherValues) Replaces an HTTP header in thisRequestHeaderContainer.Builder
.DefaultRequestHeaderContainer.toBuilder()
RequestHeaderContainer.toBuilder()
Initializes a new instance ofRequestHeaderContainer.Builder
by copying all HTTP headers that are contained in thisRequestHeaderContainer
.DefaultRequestHeaderContainer.Builder.withHeader
(String name, RequestHeaderContainer headerContainer) DefaultRequestHeaderContainer.Builder.withHeader
(String name, Iterable<String> values) DefaultRequestHeaderContainer.Builder.withHeader
(String name, String firstValue, String... furtherValues) RequestHeaderContainer.Builder.withHeader
(String name, RequestHeaderContainer headerContainer) Copies the HTTP header with the givenname
- including all it's values - from theheaderContainer
.RequestHeaderContainer.Builder.withHeader
(String name, Iterable<String> values) Adds a new HTTP header with the given values to thisRequestHeaderContainer.Builder
.RequestHeaderContainer.Builder.withHeader
(String name, String firstValue, String... furtherValues) Adds a new HTTP header with the given values to thisRequestHeaderContainer.Builder
.DefaultRequestHeaderContainer.Builder.withHeaders
(RequestHeaderContainer headerContainer) RequestHeaderContainer.Builder.withHeaders
(RequestHeaderContainer headerContainer) Copies all existing headers from the givenRequestHeaderContainer
.DefaultRequestHeaderContainer.Builder.withoutHeader
(String name) RequestHeaderContainer.Builder.withoutHeader
(String name) Removes an HTTP header from thisRequestHeaderContainer.Builder
.