er.extensions
Class ERXMessageEncoding
java.lang.Object
er.extensions.ERXMessageEncoding
- All Implemented Interfaces:
- Serializable
- public class ERXMessageEncoding
- extends Object
- implements Serializable
Holds encoding related settings and methods for WOMessage
and its subclasses WORequest
and WOResponse
.
- See Also:
- Serialized Form
ERXMessageEncoding
public ERXMessageEncoding(String languageOrEncoding)
ERXMessageEncoding
public ERXMessageEncoding(NSArray preferedLanguages)
encoding
public String encoding()
resetToFactoryDefault
public static void resetToFactoryDefault()
availableEncodings
public static NSArray availableEncodings()
availableLanguages
public static NSArray availableLanguages()
defaultEncoding
public static String defaultEncoding()
setDefaultEncoding
public static void setDefaultEncoding(String newDefaultEncoding)
setDefaultEncodingForAllLanguages
public static void setDefaultEncodingForAllLanguages(String newDefaultEncoding)
defaultEncodingForLanguage
public static String defaultEncodingForLanguage(String language)
setDefaultEncodingForLanguage
public static void setDefaultEncodingForLanguage(String encoding,
String language)
setEncodingToResponse
public static void setEncodingToResponse(WOResponse response,
String encoding)
setEncodingToResponse
public void setEncodingToResponse(WOResponse response)
setDefaultFormValueEncodingToRequest
public static void setDefaultFormValueEncodingToRequest(WORequest request,
String encoding)
setDefaultFormValueEncodingToRequest
public void setDefaultFormValueEncodingToRequest(WORequest request)
createIllegalArgumentException
protected static IllegalArgumentException createIllegalArgumentException(String value,
String target,
String listingMethod)
toString
public String toString()
Copyright © 2002 – 2004 Project Wonder.