public class ValueFilterInterceptor extends Interceptor
| Constructor and Description |
|---|
ValueFilterInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
filter(java.lang.Object o) |
protected java.lang.Object |
filterAccessor(java.lang.Object o,
java.lang.String accessor) |
protected java.lang.Object |
filterArgument(java.lang.Object arg) |
protected java.lang.Object |
filterReturnValue(java.lang.Object returnValue) |
java.lang.Object |
onGetBeanProperty(IInvoker invoker,
java.lang.Object receiver,
java.lang.String property)
Gets a Java Bean property
|
java.lang.Object |
onGetInstanceField(IInvoker invoker,
java.lang.Object receiver,
java.lang.String fieldName)
Get an instance field's value
|
java.lang.Object |
onGetStaticField(IInvoker invoker,
java.lang.Class<?> receiver,
java.lang.String fieldName)
Get a static field's value
|
java.lang.Object |
onInvokeConstructor(IInvoker invoker,
java.lang.Class<?> receiver,
java.lang.Object... args)
Invokes a constructor
|
java.lang.Object |
onInvokeInstanceMethod(IInvoker invoker,
java.lang.Object receiver,
java.lang.String method,
java.lang.Object... args)
Invokes an instance method
|
java.lang.Object |
onInvokeStaticMethod(IInvoker invoker,
java.lang.Class<?> receiver,
java.lang.String method,
java.lang.Object... args)
Invokes a static method
|
void |
onSetBeanProperty(IInvoker invoker,
java.lang.Object receiver,
java.lang.String property,
java.lang.Object value)
Sets a Java Bean property
|
getMaxExecutionTimeSeconds, onLoadClassPathResource, onReadSystemProperty, validateBlackListedVeniceFunctionpublic java.lang.Object onInvokeInstanceMethod(IInvoker invoker, java.lang.Object receiver, java.lang.String method, java.lang.Object... args) throws java.lang.SecurityException
IInterceptoronInvokeInstanceMethod in interface IInterceptoronInvokeInstanceMethod in class Interceptorinvoker - the invokerreceiver - an objectmethod - a methodargs - a list of argumentsjava.lang.SecurityException - if the instance method is not whitelistedpublic java.lang.Object onInvokeStaticMethod(IInvoker invoker, java.lang.Class<?> receiver, java.lang.String method, java.lang.Object... args) throws java.lang.SecurityException
IInterceptoronInvokeStaticMethod in interface IInterceptoronInvokeStaticMethod in class Interceptorinvoker - the invokerreceiver - a classmethod - a methodargs - a list of argumentsjava.lang.SecurityException - if the static method is not whitelistedpublic java.lang.Object onInvokeConstructor(IInvoker invoker, java.lang.Class<?> receiver, java.lang.Object... args) throws java.lang.SecurityException
IInterceptoronInvokeConstructor in interface IInterceptoronInvokeConstructor in class Interceptorinvoker - the invokerreceiver - a classargs - a list of argumentsjava.lang.SecurityException - if the constructor is not whitelistedpublic java.lang.Object onGetBeanProperty(IInvoker invoker, java.lang.Object receiver, java.lang.String property) throws java.lang.SecurityException
IInterceptoronGetBeanProperty in interface IInterceptoronGetBeanProperty in class Interceptorinvoker - the invokerreceiver - an objectproperty - a property namejava.lang.SecurityException - if the bean property (instance method) is not whitelistedpublic void onSetBeanProperty(IInvoker invoker, java.lang.Object receiver, java.lang.String property, java.lang.Object value) throws java.lang.SecurityException
IInterceptoronSetBeanProperty in interface IInterceptoronSetBeanProperty in class Interceptorinvoker - the invokerreceiver - an objectproperty - a property namevalue - a property valuejava.lang.SecurityException - if the bean property (instance method) is not whitelistedpublic java.lang.Object onGetStaticField(IInvoker invoker, java.lang.Class<?> receiver, java.lang.String fieldName) throws java.lang.SecurityException
IInterceptoronGetStaticField in interface IInterceptoronGetStaticField in class Interceptorinvoker - the invokerreceiver - a classfieldName - a field namejava.lang.SecurityException - if the static field is not whitelistedpublic java.lang.Object onGetInstanceField(IInvoker invoker, java.lang.Object receiver, java.lang.String fieldName) throws java.lang.SecurityException
IInterceptoronGetInstanceField in interface IInterceptoronGetInstanceField in class Interceptorinvoker - the invokerreceiver - an objectfieldName - a field namejava.lang.SecurityException - if the instance field is not whitelistedprotected java.lang.Object filterReturnValue(java.lang.Object returnValue)
protected java.lang.Object filterArgument(java.lang.Object arg)
protected java.lang.Object filter(java.lang.Object o)
protected java.lang.Object filterAccessor(java.lang.Object o,
java.lang.String accessor)