View Javadoc

1   /*
2    * $Id: HTTPResponse.java 22773 2011-08-27 15:25:53Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.example.launcher;
12  
13  import org.codehaus.jackson.annotate.JsonProperty;
14  
15  public class HTTPResponse
16  {
17      @JsonProperty
18      private String response;
19  
20      /**
21       *
22       */
23      public HTTPResponse()
24      {
25          this(null);
26      }
27  
28      public HTTPResponse(String response)
29      {
30          super();
31          setResponse(response);
32      }
33  
34      public String getResponse()
35      {
36          return response;
37      }
38  
39      public void setResponse(String response)
40      {
41          this.response = response;
42      }
43  }