1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.dns.http;
17
18 import org.apache.commons.httpclient.Header;
19
20 public class HttpRequestResult {
21
22 int statusCode;
23 String statusText;
24 HttpRequestResultType type;
25 Exception exception;
26 Header[] responseHeaders;
27 String responseBody;
28
29 public String getStatusText() {
30 return statusText;
31 }
32
33 public void setStatusText(String statusText) {
34 this.statusText = statusText;
35 }
36
37 public String getResponseBody() {
38 return responseBody;
39 }
40
41 public void setResponseBody(String responseBody) {
42 this.responseBody = responseBody;
43 }
44
45 public HttpRequestResultType getType() {
46 return type;
47 }
48
49 public void setType(HttpRequestResultType type) {
50 this.type = type;
51 }
52
53 public Exception getException() {
54 return exception;
55 }
56
57 public void setException(Exception exception) {
58 this.exception = exception;
59 }
60
61 public int getStatusCode() {
62 return statusCode;
63 }
64
65 public void setStatusCode(int statusCode) {
66 this.statusCode = statusCode;
67 }
68
69 public Header[] getResponseHeaders() {
70 return responseHeaders;
71 }
72
73 public void setResponseHeaders(Header[] responseHeaders) {
74 this.responseHeaders = responseHeaders;
75 }
76 }