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

mx.emite.sdk.clientes.RespuestaHttp Maven / Gradle / Ivy

Go to download

Este kit de consumo provee a los integradores de Apis de Java para construir software que consuma los diferentes servicios web publicados por Emite Facturacion

There is a newer version: 0.1.4
Show newest version
package mx.emite.sdk.clientes;

import lombok.Data;

@Data
public class RespuestaHttp {

	private static final String JSON_MIME_TYPE = "application/json";

    private String contentType;

    private int statusCode;

    private String body;

    public boolean isJson() {
        return this.contentType != null && this.contentType.startsWith(JSON_MIME_TYPE);
    }
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy