FileRequest(FileRequest request, String fileName) Copy constructs a FileRequest with a new file.
If defaultFileName is not null then assumes that request is a directory.
Constructs a FileRequest.
Parameters: httpd - The Httpd instance within which the request occurred. See Also:net.homeip.donaldm.httpdbase4j.Httpd Parameters: ex - The HttpExchange instance for this request. See Also: com.sun.net.httpserver.HttpExchange Parameters: homeDir - The base directory containing the resource throws: UnsupportedEncodingException - throws: IOException -
Constructs a FileRequest.
Parameters: httpd - The Httpd instance within which the request occurred. See Also:net.homeip.donaldm.httpdbase4j.Httpd Parameters: ex - The HttpExchange instance for this request. See Also: com.sun.net.httpserver.HttpExchange Parameters: homeDir - The base directory containing the resource Parameters: f - The request file throws: UnsupportedEncodingException - throws: IOException -
Copy constructs a FileRequest with a new base directory and file
Parameters: request - The Request to copy Parameters: homeDir - The base directory for the request Parameters: f - The request file throws: UnsupportedEncodingException - throws: IOException - throws: URISyntaxException -
Copy constructs a FileRequest with a new file.
If defaultFileName is not null then assumes that request is a directory.
Parameters: request - The FileRequest instance to copy Parameters: fileName - The new file for the request. throws: UnsupportedEncodingException - throws: IOException - throws: URISyntaxException -