Class AbstractRequest

    • Constructor Detail

      • AbstractRequest

        public AbstractRequest​(URI uri)
        Creates a new base abstract request.
        Parameters:
        uri - The URI of the endpoint (HTTP or HTTPS) for which the request is intended, null if not specified (if, for example, the Request.toHTTPRequest() method will not be used).
    • Method Detail

      • getEndpointURI

        public URI getEndpointURI()
        Description copied from interface: Request
        Gets the URI of the endpoint (HTTP or HTTPS) for which the request is intended.
        Specified by:
        getEndpointURI in interface Request
        Returns:
        The endpoint URI, null if not specified.