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