|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basho.riak.client.util.Multipart
WARNING: This class will be REMOVED in the next version.
@Deprecated public class Multipart
Represents a multipart entity as described here: http://tools.ietf.org/html/rfc2046#section-5.1
Multipart
Nested Class Summary | |
---|---|
static class |
Multipart.Part
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. |
Constructor Summary | |
---|---|
Multipart()
Deprecated. |
Method Summary | |
---|---|
static String |
getBoundary(String contentType)
Deprecated. Given a content type value, get the "boundary" parameter |
static List<Multipart.Part> |
parse(Map<String,String> headers,
byte[] body)
Deprecated. Parses a multipart message or a multipart subpart of a multipart message. |
static Map<String,String> |
parseHeaders(String s)
Deprecated. Parse a block of header lines as defined here: http://tools.ietf.org/html/rfc822#section-3.2 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Multipart()
Method Detail |
---|
public static List<Multipart.Part> parse(Map<String,String> headers, byte[] body)
public static Map<String,String> parseHeaders(String s)
s
- The header blob
public static String getBoundary(String contentType)
contentType
- Content type value with boundary parameter. Should be of the
form "type/subtype; boundary=foobar; param=value"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |