org.jclouds.io.payloads
Class UrlEncodedFormPayload

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

public class UrlEncodedFormPayload
extends BasePayload<String>

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.io.payloads.BasePayload
content, contentMetadata, written
 
Constructor Summary
UrlEncodedFormPayload(com.google.common.collect.Multimap<String,String> formParams, char... skips)
           
UrlEncodedFormPayload(com.google.common.collect.Multimap<String,String> formParams, Comparator<Map.Entry<String,String>> sorter, char... skips)
           
 
Method Summary
 InputStream getInput()
          Creates a new InputStream object of the payload.
 
Methods inherited from class org.jclouds.io.payloads.BasePayload
close, equals, getContentMetadata, getRawContent, hashCode, isRepeatable, release, setContentMetadata, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UrlEncodedFormPayload

public UrlEncodedFormPayload(com.google.common.collect.Multimap<String,String> formParams,
                             char... skips)

UrlEncodedFormPayload

public UrlEncodedFormPayload(com.google.common.collect.Multimap<String,String> formParams,
                             @Nullable
                             Comparator<Map.Entry<String,String>> sorter,
                             char... skips)
Method Detail

getInput

public InputStream getInput()
Creates a new InputStream object of the payload.



Copyright © 2009-2011 jclouds. All Rights Reserved.