org.atmosphere.gwt20.jersey.GwtRpcReader Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.atmosphere.gwt20.jersey;
import com.google.gwt.user.client.rpc.SerializationException;
import java.io.IOException;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.ws.rs.Consumes;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.MessageBodyReader;
import javax.ws.rs.ext.Provider;
import org.atmosphere.gwt20.shared.Constants;
import org.atmosphere.gwt20.server.GwtRpcUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author p.havelaar
*/
@Consumes(Constants.GWT_RPC_MEDIA_TYPE)
@Provider
public class GwtRpcReader implements MessageBodyReader
© 2015 - 2025 Weber Informatics LLC | Privacy Policy