Home | History | Annotate | Download | only in impl

Lines Matching defs:reason

41  * English reason phrases for HTTP status codes.
54 // static array with english reason phrases defined below
75 * Obtains the reason phrase for a status code.
80 * @return the reason phrase, or <code>null</code>
91 String reason = null;
93 reason = REASON_PHRASES[category][subcode];
95 return reason;
99 /** Reason phrases lookup table. */
112 * Stores the given reason phrase, by status code.
116 * @param reason the reason phrase for this status code
118 private static void setReason(int status, String reason) {
121 REASON_PHRASES[category][subcode] = reason;
127 /** Set up status code to "reason phrase" map. */