Package org.jainslee.resources.sip
Interface SipLimiterFilter
-
public interface SipLimiterFilter
Filter for limiting initial SIP requests. Each filter instance will be passed an initial SIP request to decide if it can be considered for limiting or if it should be excluded from limiting. If any filter instance returns false from isLimitable then SIS will forcibly use a unit from the limiter and not block the request. Care should be taken to minimise the overhead of processing the filter conditions. Filters are not guaranteed to be invoked and must not be programmed in a way that affects application state. Filter execution order is not deterministic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLimitable(IncomingSipRequest request)
-
-
-
Method Detail
-
isLimitable
boolean isLimitable(IncomingSipRequest request)
- Parameters:
request
- the request to be considered for limiting- Returns:
- true if request can be considered for limiting, false otherwise
-
-