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, waitSEpublic JsonProjectingMethodInterceptorFactory(com.jayway.jsonpath.spi.mapper.MappingProvider mappingProvider)
ObjectMapper を使用して新しい JsonProjectingMethodInterceptorFactory を作成します。mapper - null であってはなりません。public MethodInterceptor createMethodInterceptor(ObjectSE source, ClassSE<?> targetType)
MethodInterceptorFactoryMethodInterceptor を返します。MethodInterceptorFactory 内の createMethodInterceptor source - null になることはありません。targetType - null になることはありません。public boolean supports(ObjectSE source, ClassSE<?> targetType)
MethodInterceptorFactoryMethodInterceptor を作成するために現在のファクトリが使用されることになっているのかどうかを返します。MethodInterceptorFactory 内の supports source - null になることはありません。targetType - null になることはありません。Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.