@Test public void getResponseStatus() throws Exception { assertEquals(200, bridge.getResponseStatus(entry)); }
@Override public int getResponseStatus(HarEntry entry) { HarResponse response = entry.getResponse(); if (response != null) { return response.getStatus(); } log.info("response not present in entry; returning 500 as status"); return 500; }
SstoehrHarBridge implements HarBridge<HarEntry> { @Override public int getResponseStatus(HarEntry entry) { HarResponse response = entry.getResponse(); if (response != null) { return response.getStatus(); } log.info("response not present in entry; returning 500 as status"); return 500; } }
SstoehrHarBridge implements HarBridge<HarEntry> { @Override public int getResponseStatus(HarEntry entry) { HarResponse response = entry.getResponse(); if (response != null) { return response.getStatus(); } log.info("response not present in entry; returning 500 as status"); return 500; } SstoehrHarBridge();  SstoehrHarBridge(Charset exMachinaCharset); }
SstoehrHarBridge implements HarBridge<HarEntry> { @Override public int getResponseStatus(HarEntry entry) { HarResponse response = entry.getResponse(); if (response != null) { return response.getStatus(); } log.info("response not present in entry; returning 500 as status"); return 500; } SstoehrHarBridge();  SstoehrHarBridge(Charset exMachinaCharset); @Override String getRequestMethod(HarEntry entry); @Override String getRequestUrl(HarEntry entry); @Override Stream<Map.Entry<String, String>> getRequestHeaders(HarEntry entry); @Nullable @Override ByteSource getRequestPostData(HarEntry entry); @Override HarResponseData getResponseData(ParsedRequest request, HarEntry entry, HarResponseEncoding encoding); @Override int getResponseStatus(HarEntry entry); }
SstoehrHarBridge implements HarBridge<HarEntry> { @Override public int getResponseStatus(HarEntry entry) { HarResponse response = entry.getResponse(); if (response != null) { return response.getStatus(); } log.info("response not present in entry; returning 500 as status"); return 500; } SstoehrHarBridge();  SstoehrHarBridge(Charset exMachinaCharset); @Override String getRequestMethod(HarEntry entry); @Override String getRequestUrl(HarEntry entry); @Override Stream<Map.Entry<String, String>> getRequestHeaders(HarEntry entry); @Nullable @Override ByteSource getRequestPostData(HarEntry entry); @Override HarResponseData getResponseData(ParsedRequest request, HarEntry entry, HarResponseEncoding encoding); @Override int getResponseStatus(HarEntry entry); static final Charset DEFAULT_EX_MACHINA_CHARSET; }