Class HeadMethodWebRequest


  • public class HeadMethodWebRequest
    extends HeaderOnlyWebRequest
    A web request using the HEAD method. This request is used to obtain header information for a resource without necessarily waiting for the data to be computed or transmitted.
    Author:
    Russell Gold
    • Constructor Detail

      • HeadMethodWebRequest

        public HeadMethodWebRequest​(java.lang.String urlString)
        Creates a new head request from a complete URL string.
        Parameters:
        urlString - the URL desired, including the protocol.
      • HeadMethodWebRequest

        public HeadMethodWebRequest​(java.net.URL urlBase,
                                    java.lang.String urlString)
        Creates a new head request using a relative URL and base.
        Parameters:
        urlBase - the base URL.
        urlString - the relative URL