|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.util.StreamedMultipart
WARNING: This class will be REMOVED in the next version.
@Deprecated public class StreamedMultipart
StreamedMultipart| Constructor Summary | |
|---|---|
StreamedMultipart(Map<String,String> headers,
InputStream stream)
Deprecated. Parses a multipart message or a multipart subpart of a multipart message. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getHeaders()
Deprecated. Return the map of document headers that this object was constructed with. |
boolean |
hasNext()
Deprecated. See Iterator.hasNext(). |
Multipart.Part |
next()
Deprecated. See Iterator.next(). |
void |
remove()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamedMultipart(Map<String,String> headers,
InputStream stream)
throws IOException,
EOFException
headers - The headers from the original message, which contains the
Content-Type header including the boundary stringstream - The input stream to read from
IOException - There was a communication error reading the input stream while
looking for the initial boundary
EOFException - The initial boundary was not found| Method Detail |
|---|
public Map<String,String> getHeaders()
public boolean hasNext()
Iterator.hasNext().
hasNext in interface Iterator<Multipart.Part>RuntimeException - (IOException) if there is an error reading the next part from
the input streampublic Multipart.Part next()
Iterator.next().
next in interface Iterator<Multipart.Part>RuntimeException - (IOException) if there is an error reading the next part from
the input streampublic void remove()
remove in interface Iterator<Multipart.Part>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||