Package io.hyperfoil.http.handlers
Class ActionStatusHandler
- java.lang.Object
-
- io.hyperfoil.http.handlers.BaseRangeStatusHandler
-
- io.hyperfoil.http.handlers.ActionStatusHandler
-
- All Implemented Interfaces:
StatusHandler,java.io.Serializable
public class ActionStatusHandler extends BaseRangeStatusHandler
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionStatusHandler.BuilderPerform certain actions when the status falls into a range.
-
Field Summary
-
Fields inherited from class io.hyperfoil.http.handlers.BaseRangeStatusHandler
statusRanges
-
-
Constructor Summary
Constructors Constructor Description ActionStatusHandler(int[] statusRanges, io.hyperfoil.api.session.Action[][] actions, io.hyperfoil.api.session.Action[] otherActions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonOtherStatus(HttpRequest request, int status)protected voidonStatusRange(HttpRequest request, int status, int index)-
Methods inherited from class io.hyperfoil.http.handlers.BaseRangeStatusHandler
checkAndSortRanges, handleStatus
-
-
-
-
Method Detail
-
onStatusRange
protected void onStatusRange(HttpRequest request, int status, int index)
- Specified by:
onStatusRangein classBaseRangeStatusHandler
-
onOtherStatus
protected void onOtherStatus(HttpRequest request, int status)
- Specified by:
onOtherStatusin classBaseRangeStatusHandler
-
-