Lines Matching refs:code
55 * @return the status line, or <code>null</code> if not yet set
72 * @param code the status code
74 void setStatusLine(ProtocolVersion ver, int code);
80 * @param code the status code
81 * @param reason the reason phrase, or <code>null</code> to omit
83 void setStatusLine(ProtocolVersion ver, int code, String reason);
86 * Updates the status line of this response with a new status code.
90 * The reason phrase will be updated according to the new status code,
94 * @param code the HTTP status code.
103 void setStatusCode(int code)
112 * <code>null</code> to unset the reason phrase
128 * <code>null</code> if there is none
136 * <code>null</code> to unset
143 * for the {@link #setStatusCode status code}.
146 * @return the locale of this response, never <code>null</code>
153 * according to the status code and new locale.