001package org.nuxeo.scim.server.jaxrs.marshalling;
002
003import javax.ws.rs.core.MediaType;
004
005import com.unboundid.scim.data.UserResource;
006
007/**
008 * @author tiry
009 * @since 7.4
010 */
011public class UserResourceWithMimeType extends UserResource {
012
013    protected final MediaType mt;
014
015    public UserResourceWithMimeType(UserResource source, MediaType mt) {
016        super(source.getResourceDescriptor(), source.getScimObject());
017        this.mt=mt;
018    }
019
020    public MediaType getMediaType() {
021        return mt;
022    }
023
024}