Annotation Interface NeovimRequestListener
Annotation used to mark a method as a request listener
That means that this method will be called when request with name matching value of this annotation arrives
To actually use this, object with this method needs to be registered in NeovimHandlerManager
Handlers with zero arguments are supported, as well as single argument handlers with argument of RequestMessage
type
or handlers whose arguments can be mapped to from request arguments using mapper provided to NeovimHandlerManager
Difference between this and NeovimRequestHandler
is that Neovim request handler's result will be used to respond to rpc connection
-
Optional Element Summary
-
Element Details
-
value
String valueName of request this method will handle By default fully qualified method name is used- Returns:
- name of request
- Default:
- ""
-