Class HttpFileRequest

  • All Implemented Interfaces:
    Loggable

    public class HttpFileRequest
    extends HttpRequest
    HTTP request which puts the content of a file as output.
    • Constructor Detail

      • HttpFileRequest

        public HttpFileRequest​(URL url,
                               File file)
        Parameters:
        url - URL to be called.
        file - File to be put as output.
        See Also:
        HttpRequest(java.net.URL)
      • HttpFileRequest

        public HttpFileRequest​(URL url,
                               File file,
                               long timeout)
        Parameters:
        url - URL to be called.
        file - File to be put as output.
        timeout - Request timeout.
        See Also:
        HttpRequest(java.net.URL, long)