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

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

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(SimpleTextTransport.class)
public abstract class Text implements Transport {
  
  public String contentType() {
    return "text/plain";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy