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