test_class.declarator: filter = new SwaggerBasePathRewritingFilter()
test_class.modifier: private
test_class.original_string: private SwaggerBasePathRewritingFilter filter = new SwaggerBasePathRewritingFilter();
test_class.type: SwaggerBasePathRewritingFilter
test_class.var_name: filter
test_class.file: v5.1.0/gateway/src/test/java/com/mycompany/appstack/gateway/responserewriting/SwaggerBasePathRewritingFilterTest.java
test_class.identifier: SwaggerBasePathRewritingFilterTest
test_case.body: @Test
      public void shouldNotFilter_on_wrong_url() {
  
          MockHttpServletRequest request = new MockHttpServletRequest("GET", "/management/info");
          RequestContext.getCurrentContext().setRequest(request);
  
          assertFalse(filter.shouldFilter());
      }
test_case.class_method_signature: SwaggerBasePathRewritingFilterTest.shouldNotFilter_on_wrong_url()
test_case.full_signature: @Test public void shouldNotFilter_on_wrong_url()
test_case.identifier: shouldNotFilter_on_wrong_url
test_case.invocations: setRequest getCurrentContext assertFalse shouldFilter
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldNotFilter_on_wrong_url()
focal_class.declarator: log = LoggerFactory.getLogger(SwaggerBasePathRewritingFilter.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(SwaggerBasePathRewritingFilter.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: mapper = new ObjectMapper()
focal_class.modifier: private
focal_class.original_string: private ObjectMapper mapper = new ObjectMapper();
focal_class.type: ObjectMapper
focal_class.var_name: mapper
focal_class.file: v5.1.0/gateway/src/main/java/com/mycompany/appstack/gateway/responserewriting/SwaggerBasePathRewritingFilter.java
focal_class.identifier: SwaggerBasePathRewritingFilter
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.SwaggerBasePathRewritingFilter()
focal_class.full_signature: public  SwaggerBasePathRewritingFilter()
focal_class.identifier: SwaggerBasePathRewritingFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SwaggerBasePathRewritingFilter()
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.filterType()
focal_class.full_signature: @Override public String filterType()
focal_class.identifier: filterType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String filterType()
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.filterOrder()
focal_class.full_signature: @Override public int filterOrder()
focal_class.identifier: filterOrder
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int filterOrder()
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.shouldFilter()
focal_class.full_signature: @Override public boolean shouldFilter()
focal_class.identifier: shouldFilter
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean shouldFilter()
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.run()
focal_class.full_signature: @Override public Object run()
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object run()
focal_class.class_method_signature: SwaggerBasePathRewritingFilter.rewriteBasePath(RequestContext context)
focal_class.full_signature: @SuppressWarnings("unchecked") private String rewriteBasePath(RequestContext context)
focal_class.identifier: rewriteBasePath
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: (RequestContext context)
focal_class.return: String
focal_class.signature: String rewriteBasePath(RequestContext context)
focal_class.superclass: extends SendResponseFilter
focal_method.body: @Override
      public boolean shouldFilter() {
          return RequestContext.getCurrentContext().getRequest().getRequestURI().endsWith(Swagger2Controller.DEFAULT_URL);
      }
focal_method.class_method_signature: SwaggerBasePathRewritingFilter.shouldFilter()
focal_method.full_signature: @Override public boolean shouldFilter()
focal_method.identifier: shouldFilter
focal_method.invocations: endsWith getRequestURI getRequest getCurrentContext
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean shouldFilter()