public class RemoteInterfaceMethod extends Object
Captures the information in @RemoteInterface
annotations for caching and reuse.
Constructor and Description |
---|
RemoteInterfaceMethod(String restUrl,
Method m)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Method |
getJavaMethod()
Returns the underlying Java method that this metadata is about.
|
String |
getPath()
Returns the HTTP path of this method.
|
String |
getUrl()
Returns the absolute URL of the REST interface invoked by this Java method.
|
public RemoteInterfaceMethod(String restUrl, Method m)
restUrl
- The absolute URL of the REST interface backing the interface proxy.m
- The Java method.public String getUrl()
public String getPath()
public Method getJavaMethod()
Copyright © 2018 Apache. All rights reserved.