Class Request

java.lang.Object
me.cadox8.xenapi.request.Request

public class Request
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Request​(RequestType requestType, java.util.Map<RequestParam,​java.lang.Object> params)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getURL​(XenAPI xenAPI)
    Gets the action URL
    Request grab_as​(java.lang.String username)
    Allows to getResponse a Reply with one username

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • grab_as

      public Request grab_as​(java.lang.String username)
      Allows to getResponse a Reply with one username
      Parameters:
      username - The username to grab
      Returns:
      A Request
    • getURL

      public java.lang.String getURL​(XenAPI xenAPI)
      Gets the action URL
      Parameters:
      xenAPI - Instance class
      Returns:
      Returns the complete URL