Class HttpClient


  • public class HttpClient
    extends java.lang.Object
    Very simple http client that downloads data.
    Author:
    Jakub Kulaviak
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpClient()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] download​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpClient

        public HttpClient()
    • Method Detail

      • download

        public byte[] download​(java.lang.String url)
        Parameters:
        url - url of resource to be downloaded
        Returns:
        downloaded data