Class RrpcInterfaceMethodMeta

java.lang.Object
org.apache.juneau.http.remote.RrpcInterfaceMethodMeta

public class RrpcInterfaceMethodMeta extends Object
Contains the meta-data about a Java method on a remote class.

Captures the information in @Remote annotations for caching and reuse.

See Also:
  • Constructor Details

    • RrpcInterfaceMethodMeta

      public RrpcInterfaceMethodMeta(String restUrl, Method m)
      Constructor.
      Parameters:
      restUrl - The absolute URL of the REST interface backing the interface proxy.
      m - The Java method.
  • Method Details

    • getUri

      public String getUri()
      Returns the absolute URL of the REST interface invoked by this Java method.
      Returns:
      The absolute URL of the REST interface, never null.
    • getPath

      public String getPath()
      Returns the HTTP path of this method.
      Returns:
      The HTTP path of this method relative to the parent interface.
      Never null.
      Never has leading or trailing slashes.
    • getJavaMethod

      Returns the underlying Java method that this metadata is about.
      Returns:
      The underlying Java method that this metadata is about.
      Never null.