Class CallInfoImpl

java.lang.Object
org.bitbucket.restgap.impl.CallInfoImpl
All Implemented Interfaces:
CallInfo

public class CallInfoImpl extends Object implements CallInfo
Default implementation of CallInfo, to use in Frontend implementations
Author:
upachler
  • Constructor Details

    • CallInfoImpl

      public CallInfoImpl(URI uri, String method)
  • Method Details

    • uri

      public URI uri()
      Description copied from interface: CallInfo
      The URI used in the call. Can be relative or absolute, depending on the client configuration that was used to produce the harvester that created this instance.
      Specified by:
      uri in interface CallInfo
      Returns:
      the URI that'd be called
    • method

      public String method()
      Description copied from interface: CallInfo
      The HTTP method used in the call, like "GET", "POST", etc..
      Specified by:
      method in interface CallInfo
      Returns:
      the HTTP method