return gson.fromJson(response.readEntity(String.class),
Rastreamento.class);
} else if (response.getStatus() == 404) {
return null;
} else {
throw new PostmonAPIException("Erro ao rastrear: "
+ response.getStatus() + ": "
+ response.getStatusInfo());
}
} else {
throw new UnsupportedOperationException();