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

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

package com.google.sitebricks.client.transport;

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

/**
 * A raw implementation of Transport where input types are assumed
 * to be byte arrays.
 *
 * @author [email protected] (Dhanji R. Prasanna)
 */
@ImplementedBy(ByteArrayTransport.class)
public abstract class Raw implements Transport {

  public String contentType() {
    return "application/octet-stream";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy