|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.syndication.fetcher.impl.ResponseHandler
Utility class to help deal with HTTP responses
Field Summary | |
static java.lang.String |
defaultCharacterEncoding
|
Constructor Summary | |
ResponseHandler()
|
Method Summary | |
static java.lang.String |
getCharacterEncoding(java.lang.String contentTypeHeader)
Gets the character encoding of a response. |
static java.lang.String |
getCharacterEncoding(java.net.URLConnection connection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String defaultCharacterEncoding
Constructor Detail |
public ResponseHandler()
Method Detail |
public static java.lang.String getCharacterEncoding(java.net.URLConnection connection)
public static java.lang.String getCharacterEncoding(java.lang.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-4
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |