Lines Matching refs:setReason
118 private static void setReason(int status, String reason) {
130 setReason(HttpStatus.SC_OK,
132 setReason(HttpStatus.SC_CREATED,
134 setReason(HttpStatus.SC_ACCEPTED,
136 setReason(HttpStatus.SC_NO_CONTENT,
138 setReason(HttpStatus.SC_MOVED_PERMANENTLY,
140 setReason(HttpStatus.SC_MOVED_TEMPORARILY,
142 setReason(HttpStatus.SC_NOT_MODIFIED,
144 setReason(HttpStatus.SC_BAD_REQUEST,
146 setReason(HttpStatus.SC_UNAUTHORIZED,
148 setReason(HttpStatus.SC_FORBIDDEN,
150 setReason(HttpStatus.SC_NOT_FOUND,
152 setReason(HttpStatus.SC_INTERNAL_SERVER_ERROR,
154 setReason(HttpStatus.SC_NOT_IMPLEMENTED,
156 setReason(HttpStatus.SC_BAD_GATEWAY,
158 setReason(HttpStatus.SC_SERVICE_UNAVAILABLE,
162 setReason(HttpStatus.SC_CONTINUE,
164 setReason(HttpStatus.SC_TEMPORARY_REDIRECT,
166 setReason(HttpStatus.SC_METHOD_NOT_ALLOWED,
168 setReason(HttpStatus.SC_CONFLICT,
170 setReason(HttpStatus.SC_PRECONDITION_FAILED,
172 setReason(HttpStatus.SC_REQUEST_TOO_LONG,
174 setReason(HttpStatus.SC_REQUEST_URI_TOO_LONG,
176 setReason(HttpStatus.SC_UNSUPPORTED_MEDIA_TYPE,
178 setReason(HttpStatus.SC_MULTIPLE_CHOICES,
180 setReason(HttpStatus.SC_SEE_OTHER,
182 setReason(HttpStatus.SC_USE_PROXY,
184 setReason(HttpStatus.SC_PAYMENT_REQUIRED,
186 setReason(HttpStatus.SC_NOT_ACCEPTABLE,
188 setReason(HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED,
190 setReason(HttpStatus.SC_REQUEST_TIMEOUT,
193 setReason(HttpStatus.SC_SWITCHING_PROTOCOLS,
195 setReason(HttpStatus.SC_NON_AUTHORITATIVE_INFORMATION,
197 setReason(HttpStatus.SC_RESET_CONTENT,
199 setReason(HttpStatus.SC_PARTIAL_CONTENT,
201 setReason(HttpStatus.SC_GATEWAY_TIMEOUT,
203 setReason(HttpStatus.SC_HTTP_VERSION_NOT_SUPPORTED,
205 setReason(HttpStatus.SC_GONE,
207 setReason(HttpStatus.SC_LENGTH_REQUIRED,
209 setReason(HttpStatus.SC_REQUESTED_RANGE_NOT_SATISFIABLE,
211 setReason(HttpStatus.SC_EXPECTATION_FAILED,
215 setReason(HttpStatus.SC_PROCESSING,
217 setReason(HttpStatus.SC_MULTI_STATUS,
219 setReason(HttpStatus.SC_UNPROCESSABLE_ENTITY,
221 setReason(HttpStatus.SC_INSUFFICIENT_SPACE_ON_RESOURCE,
223 setReason(HttpStatus.SC_METHOD_FAILURE,
225 setReason(HttpStatus.SC_LOCKED,
227 setReason(HttpStatus.SC_INSUFFICIENT_STORAGE,
229 setReason(HttpStatus.SC_FAILED_DEPENDENCY,