@Inherited @Retention(RUNTIME) @Target(METHOD) public @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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of request this method will handle By default fully qualified method name is used
  • Element Details

    • value

      String value
      Name of request this method will handle By default fully qualified method name is used
      Returns:
      name of request
      Default:
      ""