@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Intercepts
Ex1: @Intercepts public class MyInterceptor extends AbstractInterceptorController{ public void intercepted(InterceptorStack stack, InterceptorHandler handler) throws InterceptedException { ... } } Ex2: public class ControllerTestInterceptorController extends AbstractInterceptorController{ public void intercepted(InterceptorStack stack, InterceptorHandler handler) throws InterceptedException { ... } }
public abstract String name
public abstract boolean isDefault
public abstract Param[] params
Copyright © 2018 Brandao. All rights reserved.