com.basho.riak.client.http.util
Class Multipart.Part
java.lang.Object
com.basho.riak.client.http.util.Multipart.Part
- Enclosing class:
- Multipart
public static class Multipart.Part
- extends Object
A single part of a multipart entity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Multipart.Part
public Multipart.Part(Map<String,String> headers,
byte[] body)
Multipart.Part
public Multipart.Part(Map<String,String> headers,
InputStream body)
getHeaders
public Map<String,String> getHeaders()
- Headers defined in the part
getBody
public byte[] getBody()
- Body of this part
getBodyAsString
public String getBodyAsString()
getStream
public InputStream getStream()
Copyright © 2012. All Rights Reserved.