All Downloads are FREE. Search and download functionalities are using the official Maven repository.

doc.com.rallydev.rest.request.GetRequest.html Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version





GetRequest (Rally Rest API for Java 2.1)











com.rallydev.rest.request

Class GetRequest



  • public class GetRequest
    extends Request
    Represents a WSAPI request to retrieve a specific object.
    • Constructor Detail

      • GetRequest

        public GetRequest(String ref)
        Create a new get request for the specified object.
        Parameters:
        ref - the ref of the WSAPI object to be retrieved. May be absolute or relative, e.g. "/defect/12345" May also be "/user" or "/subscription" to get the current instances
    • Method Detail

      • getFetch

        public Fetch getFetch()

        Get the current list of fields to be returned on the retrieved object.

        By default all fields will be returned in the response (fetch=true).
        Returns:
        the current list of fields.
      • setFetch

        public void setFetch(Fetch fetch)
        Set the current list of fields to be returned on the retrieved object.
        Parameters:
        fetch - the list of fields to be returned.
      • toUrl

        public String toUrl()

        Convert this request into a url compatible with the WSAPI.

        The current fetch and any other parameters will be included.
        Specified by:
        toUrl in class Request
        Returns:
        the url representing this request.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy