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(com.webobjects.appserver.WORequest request) |
static void |
setDefaultFormValueEncodingToRequest(com.webobjects.appserver.WORequest request,
String encoding) |
void |
setEncodingToResponse(com.webobjects.appserver.WOResponse response) |
static void |
setEncodingToResponse(com.webobjects.appserver.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(com.webobjects.appserver.WOResponse response, String encoding)
public void setEncodingToResponse(com.webobjects.appserver.WOResponse response)
public static void setDefaultFormValueEncodingToRequest(com.webobjects.appserver.WORequest request, String encoding)
public void setDefaultFormValueEncodingToRequest(com.webobjects.appserver.WORequest request)
protected static IllegalArgumentException createIllegalArgumentException(String value, String target, String listingMethod)
Copyright © 2002 – 2020 Project Wonder.