Lines Matching defs:code
34 * Creates a new {@code HttpRetryException} instance with the specified
35 * response code and the given detail message.
39 * @param code
40 * the HTTP response code from target host.
42 public HttpRetryException(String detail, int code) {
44 responseCode = code;
48 * Creates a new {@code HttpRetryException} instance with the specified
49 * response code, the given detail message and the value of the location
54 * @param code
55 * the HTTP response code from target host.
59 public HttpRetryException(String detail, int code, String location) {
61 responseCode = code;
84 * Gets the response code.
86 * @return the HTTP response code.