Index

C D E F G I M N O R S U V X 
All Classes and Interfaces|All Packages|Serialized Form

C

CauseTag - Class in net.thauvin.erik.httpstatus.taglibs
The <hs:cause> tag returns the cause (if any) for the current HTTP Status Error Code.
CauseTag() - Constructor for class net.thauvin.erik.httpstatus.taglibs.CauseTag
 
CLIENT_ERROR - Enum constant in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Represents HTTP responses with a status code starting with 4.
CodeTag - Class in net.thauvin.erik.httpstatus.taglibs
The <hs:code> tag returns the HTTP Status Error Code.
CodeTag() - Constructor for class net.thauvin.erik.httpstatus.taglibs.CodeTag
 

D

doTag() - Method in class net.thauvin.erik.httpstatus.taglibs.CauseTag
Prints the cause (if any) for the current HTTP Status Error Code.
doTag() - Method in class net.thauvin.erik.httpstatus.taglibs.CodeTag
Writes the HTTP Status Error Code to the current JspWriter.
doTag() - Method in class net.thauvin.erik.httpstatus.taglibs.MessageTag
Writes the error message associated with the current HTTP Status Error Code.
doTag() - Method in class net.thauvin.erik.httpstatus.taglibs.ReasonTag
Writes the Reason Phrase for the current (or specified) HTTP Status Error Code.

E

escapeXml(String) - Static method in class net.thauvin.erik.httpstatus.Utils
Converts <, >, &, ', " to their corresponding entity codes.

F

fromFirstDigit(int) - Static method in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Retrieves the StatusCodeClass corresponding to the given first digit.

G

getCause(Throwable) - Method in class net.thauvin.erik.httpstatus.taglibs.CauseTag
Returns the cause's localized message.
getCode() - Method in class net.thauvin.erik.httpstatus.StatusCode
Returns the status code.
getFirstDigit() - Method in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Retrieves the first digit representing the classification of HTTP status codes.
getReason() - Method in class net.thauvin.erik.httpstatus.StatusCode
Returns the reason for the status code.
getReason(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Returns the reason for the status code.
getReasonClass(StatusCodeClass) - Static method in class net.thauvin.erik.httpstatus.Reasons
Retrieves a map of reason phrases associated with a specific standard HTTP response class.
getReasonPhrase(T) - Static method in class net.thauvin.erik.httpstatus.Reasons
Returns the reason phrase for the specified status code.
getReasonPhrase(T, String) - Static method in class net.thauvin.erik.httpstatus.Reasons
Returns the reason phrase for the specified status code.

I

INFORMATIONAL - Enum constant in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Represents HTTP responses with a status code starting with 1.
isClientError() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a client error.
isClientError(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a client error.
isError() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a client or server error.
isError(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a client or server error.
isInfo() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is informational.
isInfo(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is informational.
isInformational() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is informational.
isInformational(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is informational.
isRedirect() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a redirect.
isRedirect(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a redirect.
isServerError() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a server error.
isServerError(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a server error.
isSuccess() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a (OK) success.
isSuccess(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a (OK) success.
isSuccessful() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a (OK) success.
isSuccessful(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is a (OK) success.
isValid() - Method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is valid.
isValid(int) - Static method in class net.thauvin.erik.httpstatus.StatusCode
Checks if the status code is valid.

M

main(String...) - Static method in class net.thauvin.erik.httpstatus.Reasons
Prints the reason phrase for the given status code(s).
MessageTag - Class in net.thauvin.erik.httpstatus.taglibs
The <hs:message> tag returns the message (if any) for the current error.
MessageTag() - Constructor for class net.thauvin.erik.httpstatus.taglibs.MessageTag
 

N

net.thauvin.erik.httpstatus - package net.thauvin.erik.httpstatus
A simple library to search for and display information about HTTP status codes.
net.thauvin.erik.httpstatus.taglibs - package net.thauvin.erik.httpstatus.taglibs
This package contains the JSP tags used to display the code, reason and/or cause for HTTP status codes.

O

outWrite(Writer, String, String, boolean) - Static method in class net.thauvin.erik.httpstatus.Utils
Writes a string value to the specified writer, with optional XML escaping.

R

Reasons - Class in net.thauvin.erik.httpstatus
Populates the reason phrases map from bundle properties, and implements accessor methods.
ReasonTag - Class in net.thauvin.erik.httpstatus.taglibs
The <hs:reason> tag returns the Reason Phrase for the current (or specified) HTTP Status Error Code.
ReasonTag() - Constructor for class net.thauvin.erik.httpstatus.taglibs.ReasonTag
 
REDIRECTION - Enum constant in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Represents HTTP responses with a status code starting with 3.

S

SERVER_ERROR - Enum constant in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Represents HTTP responses with a status code starting with 5.
setCode(int) - Method in class net.thauvin.erik.httpstatus.StatusCode
Sets the status code.
setCode(int) - Method in class net.thauvin.erik.httpstatus.taglibs.ReasonTag
Sets the status code.
setDefault(String) - Method in class net.thauvin.erik.httpstatus.taglibs.XmlSupport
Sets the default value.
setEscapeXml(boolean) - Method in class net.thauvin.erik.httpstatus.taglibs.XmlSupport
Sets the xml flag.
StatusCode - Class in net.thauvin.erik.httpstatus
The StatusCode bean implements methods to check the class of an HTTP status code.
StatusCode() - Constructor for class net.thauvin.erik.httpstatus.StatusCode
Creates a new StatusCode object.
StatusCode(int) - Constructor for class net.thauvin.erik.httpstatus.StatusCode
Creates a new StatusCode object.
StatusCodeClass - Enum Class in net.thauvin.erik.httpstatus
The StatusCodeClass enum represents the classification of HTTP status codes into groups based on their first digit.
SUCCESSFUL - Enum constant in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Represents HTTP responses with a status code starting with 2.

U

Utils - Class in net.thauvin.erik.httpstatus
The Utils class implements a collection of utility methods used throughout this project.

V

valueOf(String) - Static method in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.thauvin.erik.httpstatus.StatusCodeClass
Returns an array containing the constants of this enum class, in the order they are declared.

X

XmlSupport - Class in net.thauvin.erik.httpstatus.taglibs
Adds support for the default and escapeXml tag attributes.
XmlSupport() - Constructor for class net.thauvin.erik.httpstatus.taglibs.XmlSupport
 
C D E F G I M N O R S U V X 
All Classes and Interfaces|All Packages|Serialized Form