// Path: test/testapps/basicdropwizardapp/src/main/java/com/github/sullis/dropwizard/helloworld/api/HelloMessage.java
// public class HelloMessage {
// 	private String message = "Hello";
// 	private Date timestamp = new Date();
// 
// 	public Date getTimestamp() {
// 		return timestamp;
// 	}
// 	public void setTimestamp(Date timestamp) {
// 		this.timestamp = timestamp;
// 	}
// 
// 	public String getMessage() {
// 		return message;
// 	}
// 
// 	public void setMessage(String msg) {
// 		message = msg;
// 	}
// 
// }


import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.github.sullis.dropwizard.helloworld.api.HelloMessage;
import com.google.common.base.Optional;
import com.yammer.metrics.annotation.Timed;
package com.github.sullis.dropwizard.helloworld.resources;



@Path("/helloworld")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class HelloWorldResource {

    public HelloWorldResource() {
    }

    @GET
    @Timed(name = "get-requests")
// Path: test/testapps/basicdropwizardapp/src/main/java/com/github/sullis/dropwizard/helloworld/api/HelloMessage.java
// public class HelloMessage {
// 	private String message = "Hello";
// 	private Date timestamp = new Date();
// 
// 	public Date getTimestamp() {
// 		return timestamp;
// 	}
// 	public void setTimestamp(Date timestamp) {
// 		this.timestamp = timestamp;
// 	}
// 
// 	public String getMessage() {
// 		return message;
// 	}
// 
// 	public void setMessage(String msg) {
// 		message = msg;
// 	}
// 
// }


// Path: test/testapps/basicdropwizardapp/src/main/java/com/github/sullis/dropwizard/helloworld/resources/HelloWorldResource.java
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.github.sullis.dropwizard.helloworld.api.HelloMessage;
import com.google.common.base.Optional;
import com.yammer.metrics.annotation.Timed;

package com.github.sullis.dropwizard.helloworld.resources;



@Path("/helloworld")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class HelloWorldResource {

    public HelloWorldResource() {
    }

    @GET
    @Timed(name = "get-requests")
    public HelloMessage get(@QueryParam("name") Optional<String> name) {