Gitiles
Code Review
Sign In
gerrit.benkard.de
/
mulkcms2
/
764e4d18e9ce5ab0db5d337432d38ce61463545e
/
.
/
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!"
}