com.atlassian.plugins.rest.common.interceptor.impl
Class InterceptorChainBuilder

java.lang.Object
  extended by com.atlassian.plugins.rest.common.interceptor.impl.InterceptorChainBuilder

public class InterceptorChainBuilder
extends java.lang.Object

Builds the interceptor chain for the resource method. Uses the InterceptorChain resource by building the chain from the method then class then package, then default interceptors passed into the constructor. This is a private class and used by the EntityParamDispatchProviderWrapper and MultipartFormDispatchProvider which both will use this helper class to wrap calls to rest methods with interceptors.

Since:
2.0

Constructor Summary
InterceptorChainBuilder(com.atlassian.plugin.AutowireCapablePlugin plugin, ResourceInterceptor... resourceInterceptors)
           
 
Method Summary
 java.util.List<ResourceInterceptor> getResourceInterceptorsForMethod(java.lang.reflect.Method m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorChainBuilder

public InterceptorChainBuilder(com.atlassian.plugin.AutowireCapablePlugin plugin,
                               ResourceInterceptor... resourceInterceptors)
Method Detail

getResourceInterceptorsForMethod

public java.util.List<ResourceInterceptor> getResourceInterceptorsForMethod(java.lang.reflect.Method m)


Copyright © 2014 Atlassian. All Rights Reserved.