Class JsonProjectingMethodInterceptorFactory

java.lang.Object
org.springframework.data.web.JsonProjectingMethodInterceptorFactory
All Implemented Interfaces:
MethodInterceptorFactory

public class JsonProjectingMethodInterceptorFactory extends Object implements MethodInterceptorFactory
Since:
1.13
Author:
Oliver Gierke, Mark Paluch, Mikhael Sokolov
  • Constructor Details

    • JsonProjectingMethodInterceptorFactory

      public JsonProjectingMethodInterceptorFactory(com.jayway.jsonpath.spi.mapper.MappingProvider mappingProvider)
      Creates a new JsonProjectingMethodInterceptorFactory using the default JsonProvider and the given MappingProvider.
      Parameters:
      mappingProvider - must not be null.
      See Also:
      • Configuration.defaultConfiguration()
      • Configuration.jsonProvider()
    • JsonProjectingMethodInterceptorFactory

      public JsonProjectingMethodInterceptorFactory(com.jayway.jsonpath.spi.json.JsonProvider jsonProvider, com.jayway.jsonpath.spi.mapper.MappingProvider mappingProvider)
      Creates a new JsonProjectingMethodInterceptorFactory using the given JsonProvider and MappingProvider.
      Parameters:
      jsonProvider - must not be null.
      mappingProvider - must not be null.
      Since:
      2.5.3
  • Method Details