blob: a68b2a7037c0e4ad3ce67d4f65726b50d49b06db [file] [log] [blame]
package eu.mulk
import javax.ws.rs.{GET, Path, Produces}
import javax.ws.rs.core.MediaType
@Path("/hello")
class ExampleResource {
@GET
@Produces(Array[String](MediaType.TEXT_PLAIN))
def hello() = "hello!"
}