14888af31ab13200fc39c69fbd260f202e736fb3
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.highlevelrestapi / src / main / java / org / eclipse / winery / highlevelrestapi / HttpResponseMessage.java
1 /*******************************************************************************
2  * Copyright (c) 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  * Contributors:
10  *     Uwe Breitenbücher - initial API and implementation
11  *******************************************************************************/
12 package org.eclipse.winery.highlevelrestapi;
13
14 /**
15  */
16 public class HttpResponseMessage {
17         
18         private int statusCode;
19         private String responseBody;
20         
21         
22         /**
23          * @return the statusCode
24          */
25         public int getStatusCode() {
26                 return this.statusCode;
27         }
28         
29         /**
30          * @param statusCode the statusCode to set
31          */
32         protected void setStatusCode(int statusCode) {
33                 this.statusCode = statusCode;
34         }
35         
36         /**
37          * @return the responseBody
38          */
39         public String getResponseBody() {
40                 return this.responseBody;
41         }
42         
43         /**
44          * @param responseBody the responseBody to set
45          */
46         protected void setResponseBody(String responseBody) {
47                 this.responseBody = responseBody;
48         }
49         
50 }