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:
com.consol.citrus.endpoint.EndpointComponent
- Direct Known Subclasses:
HttpsEndpointComponent
public class HttpEndpointComponent extends com.consol.citrus.endpoint.AbstractEndpointComponentComponent creates proper HTTP client endpoint from endpoint uri resource and parameters.- Since:
- 1.4.1
- Author:
- Christoph Deppisch
-
-
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 com.consol.citrus.endpoint.EndpointcreateEndpoint(String resourcePath, Map<String,String> parameters, com.consol.citrus.context.TestContext context)protected StringgetScheme()Gets http uri scheme.
-
-
-
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 com.consol.citrus.endpoint.Endpoint createEndpoint(String resourcePath, Map<String,String> parameters, com.consol.citrus.context.TestContext context)
- Specified by:
createEndpointin classcom.consol.citrus.endpoint.AbstractEndpointComponent
-
getScheme
protected String getScheme()
Gets http uri scheme.- Returns:
-
-