Package io.hyperfoil.http.handlers
Class MultiplexStatusHandler
- java.lang.Object
-
- io.hyperfoil.http.handlers.BaseRangeStatusHandler
-
- io.hyperfoil.http.handlers.MultiplexStatusHandler
-
- All Implemented Interfaces:
StatusHandler,java.io.Serializable
public class MultiplexStatusHandler extends BaseRangeStatusHandler
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiplexStatusHandler.BuilderMultiplexes the status based on range into different status handlers.
-
Field Summary
-
Fields inherited from class io.hyperfoil.http.handlers.BaseRangeStatusHandler
statusRanges
-
-
Constructor Summary
Constructors Constructor Description MultiplexStatusHandler(int[] ranges, StatusHandler[][] handlers, StatusHandler[] other)
-
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
-
-
-
-
Constructor Detail
-
MultiplexStatusHandler
public MultiplexStatusHandler(int[] ranges, StatusHandler[][] handlers, StatusHandler[] other)
-
-
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
-
-