Interface Response

    • Method Detail

      • setResourceApiVersion

        void setResourceApiVersion​(Version version)
        Sets the API version of the resource that the request was routed to.
        Parameters:
        version - The resource API version.
      • getResourceApiVersion

        Version getResourceApiVersion()
        Gets the API version of the resource that the request was routed to.
        Returns:
        The resource API version.
      • getCacheControl

        default ResponseCacheControl getCacheControl()
        Indicates how the response should be cached by clients.
        Returns:
        the cache controls to apply to the response.