daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Sep 20th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import com.fasterxml.jackson.annotation.JsonCreator;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import org.springframework.hateoas.ResourceSupport;
  4.  
  5. public class MultiResource extends ResourceSupport {
  6.     private final String content;
  7.  
  8.     @JsonCreator
  9.     public MultiResource(@JsonProperty("content") String content) {
  10.         this.content = content;
  11.     }
  12.  
  13.     public String getContent() {
  14.         return content;
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top