public class SimpleThrottlingManager extends ThrottleResponse implements ThrottlingManager
delay, errorMessage, responseCode, responseHeaders| Constructor and Description |
|---|
SimpleThrottlingManager() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDecisionPhases()
Get the list of phases where this manager will expect to have to make throttling decisions.
|
int |
getThreshold() |
ThrottleResponse |
getThrottleResponse(String phase,
Message m)
Use information in the message to determine what throttling measures should be taken
|
void |
setThreshold(int threshold) |
addResponseHeader, getDelay, getErrorMessage, getResponseCode, getResponseHeaders, setDelay, setResponseCode, setResponseCodepublic List<String> getDecisionPhases()
ThrottlingManagergetDecisionPhases in interface ThrottlingManagerpublic ThrottleResponse getThrottleResponse(String phase, Message m)
ThrottlingManagergetThrottleResponse in interface ThrottlingManagerpublic int getThreshold()
public void setThreshold(int threshold)
Apache CXF