Created
January 24, 2015 08:58
-
-
Save javaeeeee/1282ec54e92cb3084027 to your computer and use it in GitHub Desktop.
A simple Dropwizard representation class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Greeting { | |
| @JsonProperty | |
| private String greeting; | |
| public Greeting() { | |
| } | |
| public Greeting(String greeting) { | |
| this.greeting = greeting; | |
| } | |
| public String getGreeting() { | |
| return greeting; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment