changeset 701:be2f53a20274

HttpReqResp
author Devel 2
date Tue, 28 Nov 2017 11:52:06 +0100
parents 7955b2096163
children aa0a94b0469d
files stress-tester/src/main/java/com/passus/st/client/http/HttpReqResp.java
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stress-tester/src/main/java/com/passus/st/client/http/HttpReqResp.java	Tue Nov 28 11:52:06 2017 +0100
@@ -0,0 +1,28 @@
+package com.passus.st.client.http;
+
+import com.passus.net.http.HttpRequest;
+import com.passus.net.http.HttpResponse;
+
+/**
+ *
+ * @author Mirosław Hawrot
+ */
+public class HttpReqResp {
+    
+    final HttpRequest request;
+    final HttpResponse response;
+
+    public HttpReqResp(HttpRequest request, HttpResponse response) {
+        this.request = request;
+        this.response = response;
+    }
+
+    public HttpRequest getRequest() {
+        return request;
+    }
+
+    public HttpResponse getResponse() {
+        return response;
+    }
+    
+}