@Deprecated public class ResponseHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
defaultCharacterEncoding
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCharacterEncoding(String contentTypeHeader)
Deprecated.
Gets the character encoding of a response.
|
static String |
getCharacterEncoding(URLConnection connection)
Deprecated.
|
public static final String defaultCharacterEncoding
public static String getCharacterEncoding(URLConnection connection)
public static String getCharacterEncoding(String contentTypeHeader)
Gets the character encoding of a response. (Note that this is different to the content-encoding)
contentTypeHeader
- the value of the content-type HTTP header eg: text/html;
charset=ISO-8859-4Copyright © 2024. All rights reserved.