com.jslsolucoes.jax.rs.server.ee.JsonMessageBodyWriter Maven / Gradle / Ivy
package com.jslsolucoes.jax.rs.server.ee;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import javax.inject.Inject;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.container.ResourceInfo;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.ext.MessageBodyWriter;
import javax.ws.rs.ext.Provider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jslsolucoes.jax.rs.provider.se.ObjectMapper;
import com.jslsolucoes.jax.rs.server.ee.annotation.JsonExcludes;
@Provider
@Produces(MediaType.APPLICATION_JSON)
public class JsonMessageBodyWriter implements MessageBodyWriter
© 2015 - 2025 Weber Informatics LLC | Privacy Policy