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

public class Part
extends DelegatingPayload


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, openStream, release, setContentMetadata
 
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-2014 The Apache Software Foundation. All Rights Reserved.