All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.beanmapper.spring.web.converter.StructuredBody Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/*
 * (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