07198d885200e1e5204823fc0c45dddee1e39af1
[vfc/nfvo/wfengine.git] / wso2bpel-ext / wso2bpel-core / BPEL4RESTLight / src / main / java / org / opentosca / bpel4restlight / rest / HttpResponseMessage.java
1 /*******************************************************************************
2  * Copyright (c) 2012-2013 University of Stuttgart.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *******************************************************************************/
9 /*
10  * Modifications Copyright 2016-2017 ZTE Corporation.
11  */
12 /**
13  * This enum is intended to simplify identifying different HTTP-methods
14  */
15 package org.opentosca.bpel4restlight.rest;
16
17 /**
18  */
19 public class HttpResponseMessage {
20         
21         private int statusCode;
22         private String responseBody;
23         
24         
25         /**
26          * @return the statusCode
27          */
28         public int getStatusCode() {
29                 return this.statusCode;
30         }
31         
32         /**
33          * @param statusCode the statusCode to set
34          */
35         protected void setStatusCode(int statusCode) {
36                 this.statusCode = statusCode;
37         }
38         
39         /**
40          * @return the responseBody
41          */
42         public String getResponseBody() {
43                 return this.responseBody;
44         }
45         
46         /**
47          * @param responseBody the responseBody to set
48          */
49         protected void setResponseBody(String responseBody) {
50                 this.responseBody = responseBody;
51         }
52         
53 }