Class MultiPartHttpResponse<T>
- java.lang.Object
-
- com.adobe.pdfservices.operation.internal.http.MultiPartHttpResponse<T>
-
- All Implemented Interfaces:
HttpResponse<T>
public class MultiPartHttpResponse<T> extends Object implements HttpResponse<T>
-
-
Constructor Summary
Constructors Constructor Description MultiPartHttpResponse(int statusCode, Map<String,String> headers, InputStream inputStream, Class<T> inlineJsonResponseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume()TgetBody()Map<String,String>getHeaders()StringgetRequestId()List<InputStream>getResponseAsStreamList()List<javax.mail.internet.MimeBodyPart>getResponseBodyParts()intgetStatusCode()
-
-
-
Constructor Detail
-
MultiPartHttpResponse
public MultiPartHttpResponse(int statusCode, Map<String,String> headers, InputStream inputStream, Class<T> inlineJsonResponseType) throws IOException, javax.mail.MessagingException- Throws:
IOExceptionjavax.mail.MessagingException
-
-
Method Detail
-
getHeaders
public Map<String,String> getHeaders()
- Specified by:
getHeadersin interfaceHttpResponse<T>
-
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCodein interfaceHttpResponse<T>
-
getRequestId
public String getRequestId()
- Specified by:
getRequestIdin interfaceHttpResponse<T>
-
getBody
public T getBody()
- Specified by:
getBodyin interfaceHttpResponse<T>
-
getResponseAsStreamList
public List<InputStream> getResponseAsStreamList()
- Specified by:
getResponseAsStreamListin interfaceHttpResponse<T>
-
consume
public void consume() throws IOException- Specified by:
consumein interfaceHttpResponse<T>- Throws:
IOException
-
getResponseBodyParts
public List<javax.mail.internet.MimeBodyPart> getResponseBodyParts()
-
-