All Classes Namespaces Files Functions Variables Enumerator Groups Pages
com.griddynamics.jagger.engine.e1.collector.JHttpResponseStatusValidator Class Reference

Validates JHttpResponse status code. More...

Inheritance diagram for com.griddynamics.jagger.engine.e1.collector.JHttpResponseStatusValidator:

Public Member Functions

String getName ()
Set< Integer > getValidStatusCodes ()
Pattern getValidStatusCodesRegexp ()
 JHttpResponseStatusValidator (String taskId, String sessionId, NodeContext kernelContext)
void setValidStatusCodes (Set< Integer > validStatusCodes)
void setValidStatusCodesRegexp (Pattern validStatusCodesRegexp)
boolean validate (JHttpQuery query, JHttpEndpoint endpoint, JHttpResponse result, long duration)
 Validates JHttpResponse status code. More...

Detailed Description

Validates JHttpResponse status code.

If JHttpResponseStatusValidator#validStatusCodesRegexp is not null, it will be used for validation, otherwise JHttpResponseStatusValidator#validStatusCodes is used.

Definition at line 20 of file JHttpResponseStatusValidator.java.

The documentation for this class was generated from the following file: