io.beanmapper.spring.web.converter.StructuredBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beanmapper-spring Show documentation
Show all versions of beanmapper-spring Show documentation
Spring support for the Bean Mapper
/*
* (C) 2014 42 bv (www.42.nl). All rights reserved.
*/
package io.beanmapper.spring.web.converter;
import java.util.Set;
/**
* Wrapper for a read request body.
*
* @author Jeroen van Schagen
* @since Nov 25, 2015
*/
public class StructuredBody {
private final Object body;
private final Set propertyNames;
public StructuredBody(Object body, Set propertyNames) {
this.body = body;
this.propertyNames = propertyNames;
}
public Object getBody() {
return body;
}
public Set getPropertyNames() {
return propertyNames;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy