Revision 61:fd0630560aab
b/java/gssclient/src/gssclient/httpmethods/HttpMethod.java | ||
---|---|---|
168 | 168 |
} |
169 | 169 |
|
170 | 170 |
if (client == null) { |
171 |
return StatusCode.METHOD_FAILURE;
|
|
171 |
return StatusCode.INTERNAL_ERROR;
|
|
172 | 172 |
} |
173 | 173 |
|
174 | 174 |
try { |
b/java/gssclient/src/gssclient/httpmethods/StatusCode.java | ||
---|---|---|
5 | 5 |
|
6 | 6 |
public enum StatusCode { |
7 | 7 |
|
8 |
INTERNAL_ERROR(-100, "Internal Error"), |
|
8 | 9 |
ACCEPTED(202, "Accepted"), |
9 | 10 |
BAD_GATEWAY(502, "Bad Gateway"), |
10 | 11 |
BAD_REQUEST(400, "Bad Request"), |
b/java/gssclient/src/log4j.properties | ||
---|---|---|
11 | 11 |
log4j.logger.gssclient.httpmethods.HttpMethodFactory=ERROR |
12 | 12 |
log4j.logger.gssclient.httpmethods.HttpMethod=ERROR |
13 | 13 |
|
14 |
org.xsocket.connection=ALL |
|
15 |
|
|
14 | 16 |
log4j.logger.gssclient=ERROR |
Also available in: Unified diff