@Test public void addsRequestContentLengthAsValue() throws Exception { when(httpRequest.getContentLength()).thenReturn(12345); createLoggerWithoutResponse(httpResponse).logRequest(); verify(requestRecord).addValue(eq(Fields.REQUEST_SIZE_B), valueCaptor.capture()); assertThat(valueCaptor.getValue().asLong(), is(12345L)); }
public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); static final boolean isRequestLoggingEnabled(); void logRequest(); }
RequestLogger { public void logRequest() { requestRecord.stop(); addRequestHandlingParameters(); generateLog(); } RequestLogger(RequestRecord requestRecord, HttpServletRequest httpRequest,
			HttpServletResponse httpResponse); static final boolean isRequestLoggingEnabled(); void logRequest();  }