From fe665a6e6ab628e5fbfc596d27a51db42c8c86c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20K=C5=91hegyi?= Date: Fri, 6 Oct 2017 20:53:38 +0200 Subject: [PATCH] #60 - update for bmp-proxy - to get access to request in response info from the response --- .../net/lightbody/bmp/proxy/http/BrowserMobHttpResponse.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browsermob-proxy/src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpResponse.java b/browsermob-proxy/src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpResponse.java index 2b4ff92d..682c7464 100644 --- a/browsermob-proxy/src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpResponse.java +++ b/browsermob-proxy/src/main/java/net/lightbody/bmp/proxy/http/BrowserMobHttpResponse.java @@ -136,4 +136,8 @@ public void setAnswer(byte[] bytes) throws IOException { public boolean isResponseVolatile() { return responseVolatile; } + + public HttpRequestBase getMethod() { + return method; + } }