Simple test against an code to determine if it falls into the
Client Error message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Simple test against an code to determine if it falls into the
Informational message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Simple test against an code to determine if it falls into the
Redirection message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Simple test against an code to determine if it falls into the
Server Error message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Simple test against an code to determine if it falls into the
Informational message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Returns:
true if within range of codes that belongs to
Informational messages.
true if within range of codes that belongs to
Success messages.
isRedirection
publicbooleanisRedirection()
Simple test against an code to determine if it falls into the
Redirection message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Returns:
true if within range of codes that belongs to
Redirection messages.
isClientError
publicbooleanisClientError()
Simple test against an code to determine if it falls into the
Client Error message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Returns:
true if within range of codes that belongs to
Client Error messages.
isServerError
publicbooleanisServerError()
Simple test against an code to determine if it falls into the
Server Error message category as defined in the RFC 1945 - HTTP/1.0,
and RFC 2616 -
HTTP/1.1.
Returns:
true if within range of codes that belongs to
Server Error messages.