Class HttpCriterion
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.Criterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.HttpCriterion
- All Implemented Interfaces:
Serializable
Connector detection criterion using HTTP protocol.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpCriterion(String type, boolean forceSerialization, HttpMethod method, String url, String path, String header, String body, String expectedResult, String errorMessage, ResultContent resultContent, String authenticationToken) Constructor with builder for creating an instance of HttpCriterion. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICriterionProcessor criterionProcessor) Accepts the given criterion processor for evaluation.
-
Constructor Details
-
HttpCriterion
public HttpCriterion(String type, boolean forceSerialization, HttpMethod method, String url, String path, String header, String body, String expectedResult, String errorMessage, ResultContent resultContent, String authenticationToken) Constructor with builder for creating an instance of HttpCriterion.- Parameters:
type- Type of the criterion.forceSerialization- Flag indicating whether serialization should be forced.method- HTTP method for the test.url- URL for the HTTP test.header- Header for the HTTP test.body- Body for the HTTP test.expectedResult- Expected result for the HTTP test.errorMessage- Error message for the HTTP test.resultContent- Result content for the HTTP test.authenticationToken- Authentication token for the HTTP test.
-
-
Method Details