test_class.declarator: context
test_class.modifier: private
test_class.original_string: private ApplicationContext context;
test_class.type: ApplicationContext
test_class.var_name: context
test_class.declarator: embeddedProviders
test_class.modifier: private
test_class.original_string: private ProviderBinder     embeddedProviders;
test_class.type: ProviderBinder
test_class.var_name: embeddedProviders
test_class.declarator: applicationProviders
test_class.modifier: private
test_class.original_string: private ApplicationProviderBinder applicationProviders;
test_class.type: ApplicationProviderBinder
test_class.var_name: applicationProviders
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/ApplicationProviderBinderTest.java
test_class.identifier: ApplicationProviderBinderTest
test_case.body: @Test
      public void retrievesRequestFiltersByPath() {
          RequestFilter embeddedRequestFilter = mock(RequestFilter.class);
          when(embeddedProviders.getRequestFilters("/a")).thenReturn(newArrayList(embeddedRequestFilter));
          PathMatchesRequestFilter pathMatchesRequestFilter = new PathMatchesRequestFilter();
          AllMatchesRequestFilter allMatchesRequestFilter = new AllMatchesRequestFilter();
          applicationProviders.addRequestFilter(pathMatchesRequestFilter);
          applicationProviders.addRequestFilter(allMatchesRequestFilter);
  
          assertEquals(newArrayList(allMatchesRequestFilter, embeddedRequestFilter), applicationProviders.getRequestFilters("/a"));
      }
test_case.class_method_signature: ApplicationProviderBinderTest.retrievesRequestFiltersByPath()
test_case.full_signature: @Test public void retrievesRequestFiltersByPath()
test_case.identifier: retrievesRequestFiltersByPath
test_case.invocations: mock thenReturn when getRequestFilters newArrayList addRequestFilter addRequestFilter assertEquals newArrayList getRequestFilters
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void retrievesRequestFiltersByPath()
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/ApplicationProviderBinder.java
focal_class.identifier: ApplicationProviderBinder
focal_class.class_method_signature: ApplicationProviderBinder.getAcceptableWriterMediaTypes(Class<?> type, Type genericType, Annotation[] annotations)
focal_class.full_signature: @Override public List<MediaType> getAcceptableWriterMediaTypes(Class<?> type, Type genericType, Annotation[] annotations)
focal_class.identifier: getAcceptableWriterMediaTypes
focal_class.modifiers: @Override public
focal_class.parameters: (Class<?> type, Type genericType, Annotation[] annotations)
focal_class.return: List<MediaType>
focal_class.signature: List<MediaType> getAcceptableWriterMediaTypes(Class<?> type, Type genericType, Annotation[] annotations)
focal_class.class_method_signature: ApplicationProviderBinder.getContextResolver(Class<T> contextType, MediaType mediaType)
focal_class.full_signature: @Override public ContextResolver<T> getContextResolver(Class<T> contextType, MediaType mediaType)
focal_class.identifier: getContextResolver
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> contextType, MediaType mediaType)
focal_class.return: ContextResolver<T>
focal_class.signature: ContextResolver<T> getContextResolver(Class<T> contextType, MediaType mediaType)
focal_class.class_method_signature: ApplicationProviderBinder.getExceptionMapper(Class<T> type)
focal_class.full_signature: @Override public ExceptionMapper<T> getExceptionMapper(Class<T> type)
focal_class.identifier: getExceptionMapper
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> type)
focal_class.return: ExceptionMapper<T>
focal_class.signature: ExceptionMapper<T> getExceptionMapper(Class<T> type)
focal_class.class_method_signature: ApplicationProviderBinder.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public MessageBodyReader<T> getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: getMessageBodyReader
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: MessageBodyReader<T>
focal_class.signature: MessageBodyReader<T> getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: ApplicationProviderBinder.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public MessageBodyWriter<T> getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: getMessageBodyWriter
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: MessageBodyWriter<T>
focal_class.signature: MessageBodyWriter<T> getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: ApplicationProviderBinder.getMethodInvokerFilters(String path)
focal_class.full_signature: @Override public List<MethodInvokerFilter> getMethodInvokerFilters(String path)
focal_class.identifier: getMethodInvokerFilters
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: List<MethodInvokerFilter>
focal_class.signature: List<MethodInvokerFilter> getMethodInvokerFilters(String path)
focal_class.class_method_signature: ApplicationProviderBinder.getRequestFilters(String path)
focal_class.full_signature: @Override public List<RequestFilter> getRequestFilters(String path)
focal_class.identifier: getRequestFilters
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: List<RequestFilter>
focal_class.signature: List<RequestFilter> getRequestFilters(String path)
focal_class.class_method_signature: ApplicationProviderBinder.getResponseFilters(String path)
focal_class.full_signature: @Override public List<ResponseFilter> getResponseFilters(String path)
focal_class.identifier: getResponseFilters
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: List<ResponseFilter>
focal_class.signature: List<ResponseFilter> getResponseFilters(String path)
focal_class.class_method_signature: ApplicationProviderBinder.getDefaults()
focal_class.full_signature: private ProviderBinder getDefaults()
focal_class.identifier: getDefaults
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ProviderBinder
focal_class.signature: ProviderBinder getDefaults()
focal_class.superclass: extends ProviderBinder
focal_method.body: @Override
      public List<RequestFilter> getRequestFilters(String path) {
          ApplicationContext context = ApplicationContext.getCurrent();
          List<RequestFilter> filters = doGetMatchedFilters(path, requestFilters).stream()
                                                                                 .map(factory -> (RequestFilter)factory.getInstance(context))
                                                                                 .collect(toList());
          filters.addAll(getDefaults().getRequestFilters(path));
          return filters;
      }
focal_method.class_method_signature: ApplicationProviderBinder.getRequestFilters(String path)
focal_method.full_signature: @Override public List<RequestFilter> getRequestFilters(String path)
focal_method.identifier: getRequestFilters
focal_method.invocations: getCurrent collect map stream doGetMatchedFilters getInstance toList addAll getRequestFilters getDefaults
focal_method.modifiers: @Override public
focal_method.parameters: (String path)
focal_method.return: List<RequestFilter>
focal_method.signature: List<RequestFilter> getRequestFilters(String path)