com.adobe.platform.operation.internal.http.HttpResponse Maven / Gradle / Ivy
/*
* Copyright 2019 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
package com.adobe.platform.operation.internal.http;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
public interface HttpResponse {
Map getHeaders();
int getStatusCode();
String getRequestId();
T getBody();
InputStream getResponseAsStream();
void consume() throws IOException;
}