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.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
-
validate
public void validate()
- Overrides:
validate
in classHttpConnectorCommonConfiguration
-
-