You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package de.joshavg
|
|
|
|
import javax.ws.rs.GET
|
|
import javax.ws.rs.Path
|
|
import javax.ws.rs.Produces
|
|
import javax.ws.rs.core.MediaType
|
|
|
|
@Path("/hello")
|
|
class ExampleResource {
|
|
|
|
@GET
|
|
@Produces(MediaType.TEXT_PLAIN)
|
|
fun hello() = "hello"
|
|
}
|