com.basho.riak.client.util
Class Multipart.Part

java.lang.Object
  extended by com.basho.riak.client.util.Multipart.Part
Enclosing class:
Multipart

Deprecated. with the addition of a protocol buffers client in 0.14 all the existing REST client code should be in client.http.* this class has therefore been moved. Please use com.basho.riak.client.http.util.ClientHelper instead.

WARNING: This class will be REMOVED in the next version.

@Deprecated
public static class Multipart.Part
extends Object

A single part of a multipart entity

See Also:
Multipart.Part

Constructor Summary
Multipart.Part(Map<String,String> headers, byte[] body)
          Deprecated.  
Multipart.Part(Map<String,String> headers, InputStream body)
          Deprecated.  
 
Method Summary
 byte[] getBody()
          Deprecated. Body of this part
 String getBodyAsString()
          Deprecated.  
 Map<String,String> getHeaders()
          Deprecated. Headers defined in the part
 InputStream getStream()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Multipart.Part

public Multipart.Part(Map<String,String> headers,
                      byte[] body)
Deprecated. 

Multipart.Part

public Multipart.Part(Map<String,String> headers,
                      InputStream body)
Deprecated. 
Method Detail

getHeaders

public Map<String,String> getHeaders()
Deprecated. 
Headers defined in the part


getBody

public byte[] getBody()
Deprecated. 
Body of this part


getBodyAsString

public String getBodyAsString()
Deprecated. 

getStream

public InputStream getStream()
Deprecated. 


Copyright © 2012. All Rights Reserved.