Guest User

Untitled

a guest
May 25th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. class TestFunction extends Controller[TestInput, TestOutput]
  2. with DefaultResponseSerializerComponent
  3. with DefaultExceptionHandler {
  4.  
  5. override def handleRequest(in: TestInput): ApiResponse[TestOutput] =
  6. success(TestOutput(s"OUTPUT:${in.value}"))
  7.  
  8. }
Add Comment
Please, Sign In to add comment