Module handlerannotations
Annotation Type NeovimRequestHandler
-
@Inherited @Retention(RUNTIME) @Target(METHOD) public @interface NeovimRequestHandlerAnnotation 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 arrivesTo actually use this, object with this method needs to be registered in
NeovimHandlerManagerCurrently, only single argument methods are supported and that argument must be of
RequestMessagetypeMethods return value will be used to respond to attached Neovim instance If methods throws an exception, it will be returned as RpcError, but only if it is instance of NeovimRequestException or NeovimRequestValidationException
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueName of request this method will handle
-