# Uses of Class
com.norconex.commons.lang.url.HttpURL

Packages that use HttpURL
Package
Description
com.norconex.commons.lang.url
Classes making it easier to deal with and manipulate URLs.

- ## Uses of HttpURL in com.norconex.commons.lang.url

  Methods in com.norconex.commons.lang.url that return HttpURL
  Modifier and Type
  Method
  Description
  `HttpURL`
  HttpURL.`setFragment(String fragment)`
  Sets the URL fragment.
  `HttpURL`
  HttpURL.`setHost(String host)`
  Sets the host portion of the URL.
  `HttpURL`
  HttpURL.`setPath(String path)`
  Sets the URL path.
  `HttpURL`
  HttpURL.`setPort(int port)`
  Sets the URL port.
  `HttpURL`
  HttpURL.`setProtocol(String protocol)`
  Sets the protocol portion of the URL.
  `HttpURL`
  HttpURL.`setQueryString(QueryString queryString)`
  Sets the URL query string, replacing this URL existing query string parameters with the ones from the supplied query string (the original query string instance is kept).
  Methods in com.norconex.commons.lang.url with parameters of type HttpURL
  Modifier and Type
  Method
  Description
  `static InputStream`
  UrlStreamer.`stream(HttpURL url)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content.
  `static InputStream`
  UrlStreamer.`stream(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content.
  `static String`
  UrlStreamer.`streamToString(HttpURL url)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy)`
  Streams URL content to a String.
  `static String`
  UrlStreamer.`streamToString(HttpURL url, Credentials creds, UrlStreamer.HttpHost proxy, Credentials proxyCreds)`
  Streams URL content to a String.