public class ERXMessageEncoding extends Object implements Serializable
WOMessage
and its subclasses WORequest
and WOResponse
.Constructor and Description |
---|
ERXMessageEncoding(NSArray preferedLanguages) |
ERXMessageEncoding(String languageOrEncoding) |
Modifier and Type | Method and Description |
---|---|
static NSArray |
availableEncodings() |
static NSArray |
availableLanguages() |
protected static IllegalArgumentException |
createIllegalArgumentException(String value,
String target,
String listingMethod) |
static String |
defaultEncoding() |
static String |
defaultEncodingForLanguage(String language) |
String |
encoding() |
static void |
resetToFactoryDefault() |
static void |
setDefaultEncoding(String newDefaultEncoding) |
static void |
setDefaultEncodingForAllLanguages(String newDefaultEncoding) |
static void |
setDefaultEncodingForLanguage(String encoding,
String language) |
void |
setDefaultFormValueEncodingToRequest(WORequest request) |
static void |
setDefaultFormValueEncodingToRequest(WORequest request,
String encoding) |
void |
setEncodingToResponse(WOResponse response) |
static void |
setEncodingToResponse(WOResponse response,
String encoding) |
String |
toString() |
public ERXMessageEncoding(String languageOrEncoding)
public ERXMessageEncoding(NSArray preferedLanguages)
public String encoding()
public static void resetToFactoryDefault()
public static NSArray availableEncodings()
public static NSArray availableLanguages()
public static String defaultEncoding()
public static void setDefaultEncoding(String newDefaultEncoding)
public static void setDefaultEncodingForAllLanguages(String newDefaultEncoding)
public static void setDefaultEncodingForLanguage(String encoding, String language)
public static void setEncodingToResponse(WOResponse response, String encoding)
public void setEncodingToResponse(WOResponse response)
public static void setDefaultFormValueEncodingToRequest(WORequest request, String encoding)
public void setDefaultFormValueEncodingToRequest(WORequest request)
protected static IllegalArgumentException createIllegalArgumentException(String value, String target, String listingMethod)
Copyright © 2002 – 2024 Project Wonder.