Class Patch


  • public class Patch
    extends Request<Patch>
    Executes a PATCH request.
    Author:
    Mikhail Chachkouski
    • Constructor Detail

      • Patch

        public Patch​(String uri,
                     byte[] content,
                     int connectTimeout,
                     int readTimeout)
        Constructor for making PATCH requests.
        Parameters:
        uri - URI of resource.
        content - content to be posted to the resource.
        connectTimeout - connection timeout.
        readTimeout - read timeout.
    • Method Detail

      • doConnect

        public Patch doConnect()
        Description copied from class: Request
        Makes a connection to the remote resource.
        Specified by:
        doConnect in class Request<Patch>
        Returns:
        self.