org.jclouds.io.payloads
Class Part

java.lang.Object
  extended by org.jclouds.io.payloads.DelegatingPayload
      extended by org.jclouds.io.payloads.Part
All Implemented Interfaces:
com.google.common.io.InputSupplier<InputStream>, Closeable, Payload, WriteTo

public class Part
extends DelegatingPayload

Author:
Adrian Cole

Nested Class Summary
static class Part.PartOptions
           
 
Method Summary
static Part create(String name, Payload delegate, Part.PartOptions options)
           
static Part create(String name, String value)
           
 com.google.common.collect.Multimap<String,String> getHeaders()
           
 String getName()
           
 
Methods inherited from class org.jclouds.io.payloads.DelegatingPayload
close, equals, getContentMetadata, getDelegate, getInput, getRawContent, hashCode, isRepeatable, release, setContentMetadata, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Part create(String name,
                          String value)

create

public static Part create(String name,
                          Payload delegate,
                          Part.PartOptions options)

getHeaders

public com.google.common.collect.Multimap<String,String> getHeaders()

getName

public String getName()


Copyright © 2009-2012 jclouds. All Rights Reserved.