public class RequestScopeInterceptor extends Object implements com.atlassian.plugins.rest.common.interceptor.ResourceInterceptor
RequestScope, plugins can have define request-scoped beans in Spring.| Constructor and Description |
|---|
RequestScopeInterceptor(RequestScope scope)
Creates a new RequestScopeInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(com.atlassian.plugins.rest.common.interceptor.MethodInvocation invocation)
Uses the RequestScope to begin and destroy a Request.
|
public RequestScopeInterceptor(RequestScope scope)
scope - a RequestScopepublic void intercept(com.atlassian.plugins.rest.common.interceptor.MethodInvocation invocation)
throws IllegalAccessException,
InvocationTargetException
intercept in interface com.atlassian.plugins.rest.common.interceptor.ResourceInterceptorinvocation - a MethodInvocation containing information about the invocationIllegalAccessExceptionInvocationTargetExceptionCopyright © 2002-2016 Atlassian. All Rights Reserved.