public class JsonProjectingMethodInterceptorFactory extends ObjectSE implements MethodInterceptorFactory
MethodInterceptorFactory
は、次のような MethodInterceptor
を作成します。コンストラクターと説明 |
---|
JsonProjectingMethodInterceptorFactory(com.jayway.jsonpath.spi.mapper.MappingProvider mappingProvider) 指定された ObjectMapper を使用して新しい JsonProjectingMethodInterceptorFactory を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
MethodInterceptor | createMethodInterceptor(ObjectSE source, ClassSE<?> targetType) 指定されたソースオブジェクトとターゲット型に使用される MethodInterceptor を返します。 |
boolean | supports(ObjectSE source, ClassSE<?> targetType) 指定されたターゲット型のプロキシ用の MethodInterceptor を作成するために現在のファクトリが使用されることになっているのかどうかを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public JsonProjectingMethodInterceptorFactory(com.jayway.jsonpath.spi.mapper.MappingProvider mappingProvider)
ObjectMapper
を使用して新しい JsonProjectingMethodInterceptorFactory
を作成します。mapper
- null であってはなりません。public MethodInterceptor createMethodInterceptor(ObjectSE source, ClassSE<?> targetType)
MethodInterceptorFactory
MethodInterceptor
を返します。MethodInterceptorFactory
の createMethodInterceptor
source
- null になることはありません。targetType
- null になることはありません。public boolean supports(ObjectSE source, ClassSE<?> targetType)
MethodInterceptorFactory
MethodInterceptor
を作成するために現在のファクトリが使用されることになっているのかどうかを返します。MethodInterceptorFactory
の supports
source
- null になることはありません。targetType
- null になることはありません。Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.