Package org.citrusframework.http.client
Class HttpEndpointComponent
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointComponent
org.citrusframework.http.client.HttpEndpointComponent
- All Implemented Interfaces:
EndpointComponent
- Direct Known Subclasses:
HttpsEndpointComponent
Component creates proper HTTP client endpoint from endpoint uri resource and parameters.
- Since:
- 1.4.1
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointComponent
ENDPOINT_NAME, logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor using the name for this component.HttpEndpointComponent(String name) Default constructor using the name for this component. -
Method Summary
Modifier and TypeMethodDescriptionprotected EndpointcreateEndpoint(String resourcePath, Map<String, String> parameters, TestContext context) protected StringGets http uri scheme.Methods inherited from class org.citrusframework.endpoint.AbstractEndpointComponent
createEndpoint, enrichEndpointConfiguration, getEndpointConfigurationParameters, getName, getParameters, getParameterString
-
Constructor Details
-
HttpEndpointComponent
public HttpEndpointComponent()Default constructor using the name for this component. -
HttpEndpointComponent
Default constructor using the name for this component.
-
-
Method Details
-
createEndpoint
protected Endpoint createEndpoint(String resourcePath, Map<String, String> parameters, TestContext context) - Specified by:
createEndpointin classAbstractEndpointComponent
-
getScheme
Gets http uri scheme.- Returns:
-