Class HttpConnectorOutgoingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.http.HttpConnectorOutgoingConfiguration
-
public class HttpConnectorOutgoingConfiguration extends HttpConnectorCommonConfiguration
Extract the outgoing configuration for thesmallrye-http
connector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description HttpConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new HttpConnectorOutgoingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getConverter()
Gets the converter value from the configuration.Boolean
getMerge()
Gets the merge value from the configuration.String
getMethod()
Gets the method value from the configuration.String
getUrl()
Gets the url value from the configuration.void
validate()
-
Methods inherited from class io.smallrye.reactive.messaging.http.HttpConnectorCommonConfiguration
config, getChannel, getFromAlias, getFromAliasWithDefaultValue
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
Gets the url value from the configuration. Attribute Name: url Description: The targeted URL Mandatory: yes- Returns:
- the url
-
getMethod
public String getMethod()
Gets the method value from the configuration. Attribute Name: method Description: The HTTP method (either `POST` or `PUT`) Default Value: POST- Returns:
- the method
-
getConverter
public Optional<String> getConverter()
Gets the converter value from the configuration. Attribute Name: converter Description: The converter classname used to serialized the outgoing message in the HTTP body- Returns:
- the converter
-
getMerge
public Boolean getMerge()
Gets the merge value from the configuration. Attribute Name: merge Description: Whether the connector should allow multiple upstreams Default Value: false- Returns:
- the merge
-
validate
public void validate()
- Overrides:
validate
in classHttpConnectorCommonConfiguration
-
-