Class HttpResponseMetadata.HttpResponseMetadataBuilder
- java.lang.Object
-
- io.smallrye.reactive.messaging.http.HttpResponseMetadata.HttpResponseMetadataBuilder
-
- Enclosing class:
- HttpResponseMetadata
public static final class HttpResponseMetadata.HttpResponseMetadataBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpResponseMetadataBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponseMetadata
build()
HttpResponseMetadata.HttpResponseMetadataBuilder
from(HttpResponseMetadata existing)
HttpResponseMetadata.HttpResponseMetadataBuilder
withHeader(String key, String value)
HttpResponseMetadata.HttpResponseMetadataBuilder
withHeaders(Map<String,List<String>> headers)
HttpResponseMetadata.HttpResponseMetadataBuilder
withMethod(String method)
HttpResponseMetadata.HttpResponseMetadataBuilder
withoutHeader(String key)
HttpResponseMetadata.HttpResponseMetadataBuilder
withoutQueryParameter(String key)
HttpResponseMetadata.HttpResponseMetadataBuilder
withQueryParameter(String key, String value)
HttpResponseMetadata.HttpResponseMetadataBuilder
withQueryParameter(Map<String,List<String>> query)
HttpResponseMetadata.HttpResponseMetadataBuilder
withUrl(String url)
-
-
-
Method Detail
-
from
public HttpResponseMetadata.HttpResponseMetadataBuilder from(HttpResponseMetadata existing)
-
withHeaders
public HttpResponseMetadata.HttpResponseMetadataBuilder withHeaders(Map<String,List<String>> headers)
-
withHeader
public HttpResponseMetadata.HttpResponseMetadataBuilder withHeader(String key, String value)
-
withoutHeader
public HttpResponseMetadata.HttpResponseMetadataBuilder withoutHeader(String key)
-
withMethod
public HttpResponseMetadata.HttpResponseMetadataBuilder withMethod(String method)
-
withUrl
public HttpResponseMetadata.HttpResponseMetadataBuilder withUrl(String url)
-
withQueryParameter
public HttpResponseMetadata.HttpResponseMetadataBuilder withQueryParameter(Map<String,List<String>> query)
-
withQueryParameter
public HttpResponseMetadata.HttpResponseMetadataBuilder withQueryParameter(String key, String value)
-
withoutQueryParameter
public HttpResponseMetadata.HttpResponseMetadataBuilder withoutQueryParameter(String key)
-
build
public HttpResponseMetadata build()
-
-