Package com.consol.citrus.http.client
Class HttpEndpointComponent
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointComponent
-
- com.consol.citrus.http.client.HttpEndpointComponent
-
- All Implemented Interfaces:
EndpointComponent
- Direct Known Subclasses:
HttpsEndpointComponent
public class HttpEndpointComponent extends AbstractEndpointComponent
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 com.consol.citrus.endpoint.EndpointComponent
ENDPOINT_NAME, LOG, RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description HttpEndpointComponent()
Default constructor using the name for this component.HttpEndpointComponent(String name)
Default constructor using the name for this component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Endpoint
createEndpoint(String resourcePath, Map<String,String> parameters, TestContext context)
protected String
getScheme()
Gets http uri scheme.-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointComponent
createEndpoint, enrichEndpointConfiguration, getEndpointConfigurationParameters, getName, getParameters, getParameterString
-
-
-
-
Constructor Detail
-
HttpEndpointComponent
public HttpEndpointComponent()
Default constructor using the name for this component.
-
HttpEndpointComponent
public HttpEndpointComponent(String name)
Default constructor using the name for this component.
-
-
Method Detail
-
createEndpoint
protected Endpoint createEndpoint(String resourcePath, Map<String,String> parameters, TestContext context)
- Specified by:
createEndpoint
in classAbstractEndpointComponent
-
getScheme
protected String getScheme()
Gets http uri scheme.- Returns:
-
-