org.cruxframework.crux.core.client.rest
Annotation Type RestProxy.TargetRestService
@Retention(value=RUNTIME)
@Target(value=TYPE)
public static @interface RestProxy.TargetRestService
Annotation used to associate a server side Rest service to the current proxy. Crux will extract all
metadata information (service Path, methods, parameters, etc) from the target rest service class.
- Author:
- Thiago da Rosa de Bustamante
|
Required Element Summary |
String |
value
The name of the rest service. |
value
public abstract String value
- The name of the rest service. You must inform the same name you used on
@RestService annotation value,
on server rest service class. If the proxy interface is not annotated with this annotation,
Crux will search for rest annotations on proxy methods to realize how to build the requests to rest services.
- Returns:
- rest service name
Copyright © 2014. All rights reserved.