test_class.declarator: PAYLOAD_CONTENT = "Test Body"
test_class.modifier: private static final
test_class.original_string: private static final String PAYLOAD_CONTENT = "Test Body";
test_class.type: String
test_class.var_name: PAYLOAD_CONTENT
test_class.file: herd-code/herd-ui/src/test/java/org/finra/herd/ui/RequestLoggingFilterTest.java
test_class.identifier: RequestLoggingFilterTest
test_class.superclass: extends AbstractUiTest
test_case.body: @Test
      public void testDoFilterMaxPayloadLength() throws Exception
      {
          RequestLoggingFilter requestLoggingFilter = new RequestLoggingFilter();
          requestLoggingFilter.setMaxPayloadLength(4);
  
          // Run the filter.
          requestLoggingFilter.doFilter(createServletRequest(), createServletResponse(), createFilterChain());
      }
test_case.class_method_signature: RequestLoggingFilterTest.testDoFilterMaxPayloadLength()
test_case.full_signature: @Test public void testDoFilterMaxPayloadLength()
test_case.identifier: testDoFilterMaxPayloadLength
test_case.invocations: setMaxPayloadLength doFilter createServletRequest createServletResponse createFilterChain
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDoFilterMaxPayloadLength()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(RequestLoggingFilter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(RequestLoggingFilter.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: DEFAULT_LOG_MESSAGE_PREFIX = "HTTP Request ["
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_LOG_MESSAGE_PREFIX = "HTTP Request [";
focal_class.type: String
focal_class.var_name: DEFAULT_LOG_MESSAGE_PREFIX
focal_class.declarator: DEFAULT_LOG_MESSAGE_SUFFIX = "]"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_LOG_MESSAGE_SUFFIX = "]";
focal_class.type: String
focal_class.var_name: DEFAULT_LOG_MESSAGE_SUFFIX
focal_class.declarator: AFTER_REQUEST_LOG_MESSAGE_PREFIX = "HerdTimingLog timingSource=HTTP "
focal_class.modifier: public static final
focal_class.original_string: public static final String AFTER_REQUEST_LOG_MESSAGE_PREFIX = "HerdTimingLog timingSource=HTTP ";
focal_class.type: String
focal_class.var_name: AFTER_REQUEST_LOG_MESSAGE_PREFIX
focal_class.declarator: DEFAULT_MAX_PAYLOAD_LENGTH = null
focal_class.modifier: private static final
focal_class.original_string: private static final Integer DEFAULT_MAX_PAYLOAD_LENGTH = null;
focal_class.type: Integer
focal_class.var_name: DEFAULT_MAX_PAYLOAD_LENGTH
focal_class.declarator: includeQueryString = true
focal_class.modifier: private
focal_class.original_string: private boolean includeQueryString = true;
focal_class.type: boolean
focal_class.var_name: includeQueryString
focal_class.declarator: includeClientInfo = true
focal_class.modifier: private
focal_class.original_string: private boolean includeClientInfo = true;
focal_class.type: boolean
focal_class.var_name: includeClientInfo
focal_class.declarator: includePayload = true
focal_class.modifier: private
focal_class.original_string: private boolean includePayload = true;
focal_class.type: boolean
focal_class.var_name: includePayload
focal_class.declarator: maxPayloadLength = DEFAULT_MAX_PAYLOAD_LENGTH
focal_class.modifier: private
focal_class.original_string: private Integer maxPayloadLength = DEFAULT_MAX_PAYLOAD_LENGTH;
focal_class.type: Integer
focal_class.var_name: maxPayloadLength
focal_class.declarator: logMessagePrefix = DEFAULT_LOG_MESSAGE_PREFIX
focal_class.modifier: private
focal_class.original_string: private String logMessagePrefix = DEFAULT_LOG_MESSAGE_PREFIX;
focal_class.type: String
focal_class.var_name: logMessagePrefix
focal_class.declarator: logMessageSuffix = DEFAULT_LOG_MESSAGE_SUFFIX
focal_class.modifier: private
focal_class.original_string: private String logMessageSuffix = DEFAULT_LOG_MESSAGE_SUFFIX;
focal_class.type: String
focal_class.var_name: logMessageSuffix
focal_class.file: herd-code/herd-ui/src/main/java/org/finra/herd/ui/RequestLoggingFilter.java
focal_class.identifier: RequestLoggingFilter
focal_class.class_method_signature: RequestLoggingFilter.setIncludeQueryString(boolean includeQueryString)
focal_class.full_signature: public void setIncludeQueryString(boolean includeQueryString)
focal_class.identifier: setIncludeQueryString
focal_class.modifiers: public
focal_class.parameters: (boolean includeQueryString)
focal_class.return: void
focal_class.signature: void setIncludeQueryString(boolean includeQueryString)
focal_class.class_method_signature: RequestLoggingFilter.isIncludeQueryString()
focal_class.full_signature: protected boolean isIncludeQueryString()
focal_class.identifier: isIncludeQueryString
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIncludeQueryString()
focal_class.class_method_signature: RequestLoggingFilter.setIncludeClientInfo(boolean includeClientInfo)
focal_class.full_signature: public void setIncludeClientInfo(boolean includeClientInfo)
focal_class.identifier: setIncludeClientInfo
focal_class.modifiers: public
focal_class.parameters: (boolean includeClientInfo)
focal_class.return: void
focal_class.signature: void setIncludeClientInfo(boolean includeClientInfo)
focal_class.class_method_signature: RequestLoggingFilter.isIncludeClientInfo()
focal_class.full_signature: protected boolean isIncludeClientInfo()
focal_class.identifier: isIncludeClientInfo
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIncludeClientInfo()
focal_class.class_method_signature: RequestLoggingFilter.setIncludePayload(boolean includePayload)
focal_class.full_signature: public void setIncludePayload(boolean includePayload)
focal_class.identifier: setIncludePayload
focal_class.modifiers: public
focal_class.parameters: (boolean includePayload)
focal_class.return: void
focal_class.signature: void setIncludePayload(boolean includePayload)
focal_class.class_method_signature: RequestLoggingFilter.isIncludePayload()
focal_class.full_signature: protected boolean isIncludePayload()
focal_class.identifier: isIncludePayload
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIncludePayload()
focal_class.class_method_signature: RequestLoggingFilter.setMaxPayloadLength(Integer maxPayloadLength)
focal_class.full_signature: public void setMaxPayloadLength(Integer maxPayloadLength)
focal_class.identifier: setMaxPayloadLength
focal_class.modifiers: public
focal_class.parameters: (Integer maxPayloadLength)
focal_class.return: void
focal_class.signature: void setMaxPayloadLength(Integer maxPayloadLength)
focal_class.class_method_signature: RequestLoggingFilter.getMaxPayloadLength()
focal_class.full_signature: protected Integer getMaxPayloadLength()
focal_class.identifier: getMaxPayloadLength
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer getMaxPayloadLength()
focal_class.class_method_signature: RequestLoggingFilter.setLogMessagePrefix(String logMessagePrefix)
focal_class.full_signature: public void setLogMessagePrefix(String logMessagePrefix)
focal_class.identifier: setLogMessagePrefix
focal_class.modifiers: public
focal_class.parameters: (String logMessagePrefix)
focal_class.return: void
focal_class.signature: void setLogMessagePrefix(String logMessagePrefix)
focal_class.class_method_signature: RequestLoggingFilter.setLogMessageSuffix(String logMessageSuffix)
focal_class.full_signature: public void setLogMessageSuffix(String logMessageSuffix)
focal_class.identifier: setLogMessageSuffix
focal_class.modifiers: public
focal_class.parameters: (String logMessageSuffix)
focal_class.return: void
focal_class.signature: void setLogMessageSuffix(String logMessageSuffix)
focal_class.class_method_signature: RequestLoggingFilter.doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
focal_class.full_signature: @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
focal_class.identifier: doFilterInternal
focal_class.modifiers: @Override protected
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
focal_class.return: void
focal_class.signature: void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
focal_class.superclass: extends OncePerRequestFilter
focal_method.body: public void setMaxPayloadLength(Integer maxPayloadLength)
      {
          this.maxPayloadLength = maxPayloadLength;
      }
focal_method.class_method_signature: RequestLoggingFilter.setMaxPayloadLength(Integer maxPayloadLength)
focal_method.full_signature: public void setMaxPayloadLength(Integer maxPayloadLength)
focal_method.identifier: setMaxPayloadLength
focal_method.modifiers: public
focal_method.parameters: (Integer maxPayloadLength)
focal_method.return: void
focal_method.signature: void setMaxPayloadLength(Integer maxPayloadLength)