Merger the code provide by lvbo chenbo.
[vfc/nfvo/wfengine.git] / wso2bpel-ext / wso2bpel-core / BPEL4RESTLight / src / main / java / org / opentosca / bpel4restlight / rest / HttpResponseMessage.java
1 /**
2  * This enum is intended to simplify identifying different HTTP-methods
3  */
4 package org.opentosca.bpel4restlight.rest;
5
6 /**
7  */
8 public class HttpResponseMessage {
9         
10         private int statusCode;
11         private String responseBody;
12         
13         
14         /**
15          * @return the statusCode
16          */
17         public int getStatusCode() {
18                 return this.statusCode;
19         }
20         
21         /**
22          * @param statusCode the statusCode to set
23          */
24         protected void setStatusCode(int statusCode) {
25                 this.statusCode = statusCode;
26         }
27         
28         /**
29          * @return the responseBody
30          */
31         public String getResponseBody() {
32                 return this.responseBody;
33         }
34         
35         /**
36          * @param responseBody the responseBody to set
37          */
38         protected void setResponseBody(String responseBody) {
39                 this.responseBody = responseBody;
40         }
41         
42 }