@Documented @Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Inherited public @interface Remoteable
Modifier and Type | Optional Element and Description |
---|---|
String |
expose
Identifies which methods on the interface should be exposed through the proxy.
|
String |
methodPaths
Defines the methodology to use for the path names of the methods when not explicitly defined via
@RemoteMethod.path() . |
String |
path
The absolute or relative path of the REST service.
|
public abstract String path
When a relative path is specified, it's relative to the root-url defined on the RestClient
used
to instantiate the interface.
When no path is specified, the path is assumed to be the class name (e.g.
public abstract String expose
The options are:
RemoteMethod
are exposed.
public abstract String methodPaths
@RemoteMethod.path()
.
The options are:
Note that if you use
Copyright © 2018 Apache. All rights reserved.