Gitiles
Code Review
Sign In
gerrit.benkard.de
/
mulkcms2
/
2f0b3705c668ff4f353e45bda66d9c5f7e20552f
/
.
/
src
/
main
/
scala
/
eu
/
mulk
/
ExampleResource.scala
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!"
}