Package org.apache.cxf.throttling
Interface ThrottlingManager
-
- All Known Implementing Classes:
SimpleThrottlingManager
public interface ThrottlingManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getDecisionPhases()Get the list of phases where this manager will expect to have to make throttling decisions.ThrottleResponsegetThrottleResponse(String phase, Message m)Use information in the message to determine what throttling measures should be taken
-
-
-
Method Detail
-
getDecisionPhases
List<String> getDecisionPhases()
Get the list of phases where this manager will expect to have to make throttling decisions. For example: using BasicAuth or other protocol based header, it can be a very early in the chain, but for WS-Security based authentication, it would be later.- Returns:
-
getThrottleResponse
ThrottleResponse getThrottleResponse(String phase, Message m)
Use information in the message to determine what throttling measures should be taken- Parameters:
phase-m-- Returns:
-
-