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