Package net.targetr.rc.client
Class ClientFileProxy
java.lang.Object
net.targetr.rc.client.ClientFileProxy
Starts a binary response by connecting to another client.
- Author:
- Dr Michael Gardiner
-
Constructor Summary
ConstructorsConstructorDescriptionClientFileProxy(HttpRequest httpReq) Initializes a new proxy request from the HTTP request details. -
Method Summary
Modifier and TypeMethodDescriptionProcesses the request and generates an appropriate HTTP response.
-
Constructor Details
-
ClientFileProxy
Initializes a new proxy request from the HTTP request details.- Parameters:
httpReq- the incoming HTTP request- Throws:
IOException- if an error occurs parsing the request path or method
-
-
Method Details
-
getResponse
Processes the request and generates an appropriate HTTP response.- Returns:
- the generated HTTP response
- Throws:
Exception- if an error occurs while processing the request
-