@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface RemoteMethod
public abstract String path
The possible values are:
Remote.path().
If you do not specify a path, then the path is inferred from the Java method name.
public abstract RemoteReturn returns
Possible values:
RemoteReturn.BODY (default) - The body of the HTTP response converted to a POJO.
@Response annotation.
This allows for response beans to be used which also allows for OpenAPI-based parsing and validation.
Reader - Returns access to the raw reader of the response.
InputStream - Returns access to the raw input stream of the response.
RemoteReturn.STATUS - The HTTP status code on the response.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.