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 HttpResponseMetadatabuild()HttpResponseMetadata.HttpResponseMetadataBuilderfrom(HttpResponseMetadata existing)HttpResponseMetadata.HttpResponseMetadataBuilderwithHeader(String key, String value)HttpResponseMetadata.HttpResponseMetadataBuilderwithHeaders(Map<String,List<String>> headers)HttpResponseMetadata.HttpResponseMetadataBuilderwithMethod(String method)HttpResponseMetadata.HttpResponseMetadataBuilderwithoutHeader(String key)HttpResponseMetadata.HttpResponseMetadataBuilderwithoutQueryParameter(String key)HttpResponseMetadata.HttpResponseMetadataBuilderwithQueryParameter(String key, String value)HttpResponseMetadata.HttpResponseMetadataBuilderwithQueryParameter(Map<String,List<String>> query)HttpResponseMetadata.HttpResponseMetadataBuilderwithUrl(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()
-
-