Annotation Type NeovimRequestHandler


  • @Inherited
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface NeovimRequestHandler
    Annotation used to mark a method as a request handler 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

    Currently, only single argument methods are supported and that argument must be of RequestMessage type

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Name of request this method will handle
    • Element Detail

      • value

        java.lang.String value
        Name of request this method will handle
        Returns:
        name of request