com.jalios.rest.client.multipart
Class MultipartParameter
java.lang.Object
  
com.jalios.rest.client.multipart.MultipartParameter
public class MultipartParameter
- extends Object
 
Represents a parameter for a Multipart Request. The value may be a String or a File.
- Since:
 
  - jcms-6.1.0
 
- Author:
 
  - dissert
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DEFAULT_CHARSET
public static final String DEFAULT_CHARSET
- See Also:
 - Constant Field Values
 
MultipartParameter
public MultipartParameter(String key,
                          Object value)
getKey
public String getKey()
 
getValue
public Object getValue()
 
getCharset
public String getCharset()
- Returns:
 - gives the charset specified for this String multipart parameter. Default is MultipartParameter.DEFAULT_CHARSET
 
 
setCharset
public void setCharset(String charset)
- Override default charset for String multipart parameter
- Parameters:
 charset - the specific charset. Must be compliant with RFC 2045 @see RFC 2045
 
 
Copyright © 2001-2010 Jalios SA. All Rights Reserved.