public class UnsupportedHTTPEncodingException
extends java.io.UnsupportedEncodingException
HTTPConstants.FIELD_TRANSFER_ENCODING
or
HTTPConstants.FIELD_CONTENT_ENCODING
cannot be handled by the server.Constructor and Description |
---|
UnsupportedHTTPEncodingException(java.lang.String field,
java.lang.String encoding)
Creates a new
UnsupportedHTTPEncodingException with the given parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
public UnsupportedHTTPEncodingException(java.lang.String field, java.lang.String encoding)
UnsupportedHTTPEncodingException
with the given parameters.field
- the HTTP Header field causing the error.encoding
- the encoding which is not supported.