public class PostResponseDataSource extends Object implements DataSource
Constructor and Description |
---|
PostResponseDataSource(ExtendedHttpMethod postMethod) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
byte[] |
getData() |
long |
getDataSize() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public PostResponseDataSource(ExtendedHttpMethod postMethod)
public long getDataSize()
public String getContentType()
getContentType
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public byte[] getData()
Copyright © 2019. All Rights Reserved.