Home | History | Annotate | Download | only in impl

Lines Matching defs:reason

41  * English reason phrases for HTTP status codes.
59 // static array with english reason phrases defined below
80 * Obtains the reason phrase for a status code.
85 * @return the reason phrase, or <code>null</code>
96 String reason = null;
98 reason = REASON_PHRASES[category][subcode];
100 return reason;
104 /** Reason phrases lookup table. */
117 * Stores the given reason phrase, by status code.
121 * @param reason the reason phrase for this status code
123 private static void setReason(int status, String reason) {
126 REASON_PHRASES[category][subcode] = reason;
132 /** Set up status code to "reason phrase" map. */