Modifier and Type | Method and Description |
---|---|
void |
blockIfMatch()
Convenience method that:
calls
shouldBlock() , and, if the result is non-null
calls Blocking.tryCommitBlockingResponse(int, BlockingContentType) , and
throws an exception of the type BlockingException
|
BlockingDetails |
shouldBlock()
Whether the user in question should be blocked, and, if so, the details of the blocking
response
|
public BlockingDetails shouldBlock()
public void blockIfMatch()
shouldBlock()
, and, if the result is non-null
Blocking.tryCommitBlockingResponse(int, BlockingContentType)
, and
BlockingException