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

com.google.sitebricks.client.transport.Json Maven / Gradle / Ivy

There is a newer version: 0.8.11
Show newest version
package com.google.sitebricks.client.transport;

import com.google.inject.ImplementedBy;
import com.google.sitebricks.client.Transport;

/**
 * A plain text (UTF-8) implementation of Transport where input types are assumed
 * to be Strings.
 *
 * @author [email protected] (Dhanji R. Prasanna)
 */
@ImplementedBy(JacksonJsonTransport.class)
public abstract class Json implements Transport {

  public String contentType() {
    return "application/json";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy