Class RemoteMeta

java.lang.Object
org.apache.juneau.rest.client.remote.RemoteMeta

public class RemoteMeta extends Object
Contains the meta-data about a REST proxy class.

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

See Also:
  • Constructor Details

    • RemoteMeta

      public RemoteMeta(Class<?> c)
      Constructor.
      Parameters:
      c - The interface class annotated with a @Remote annotation (optional).
  • Method Details

    • getOperationMeta

      Returns the metadata about the specified operation on this resource proxy.
      Parameters:
      m - The method to look up.
      Returns:
      Metadata about the method or null if no metadata was found.
    • getHeaders

      Returns the headers to set on all requests.
      Returns:
      The headers to set on all requests.