public class ValidationInterceptor extends Object implements ResourceInterceptor
ValidationErrors
instance containing the constraint violations. The error messages will be processed with either SAL or the
provided custom MessageInterpolator.| Constructor and Description |
|---|
ValidationInterceptor(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
ValidationInterceptor(javax.validation.MessageInterpolator messageInterpolator) |
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(MethodInvocation invocation)
Intercepts the method invocation
|
public ValidationInterceptor(com.atlassian.sal.api.message.I18nResolver i18nResolver)
public ValidationInterceptor(javax.validation.MessageInterpolator messageInterpolator)
public void intercept(MethodInvocation invocation) throws IllegalAccessException, InvocationTargetException
ResourceInterceptorintercept in interface ResourceInterceptorinvocation - Context information about the invocationIllegalAccessExceptionInvocationTargetExceptionCopyright © 2017 Atlassian. All rights reserved.