Package io.javalin.http
Interface Handler
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Handler
Main interface for endpoint actions. A handler has a void return type, so you have to useContext.result(java.lang.String)to return data to the client.- See Also:
Context, Handler in documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(io.javalin.http.Context ctx)
-