test_class.declarator: TEST_LOCALE = "vi-VN"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_LOCALE = "vi-VN";
test_class.type: String
test_class.var_name: TEST_LOCALE
test_class.declarator: request
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private HttpServletRequest request;
test_class.type: HttpServletRequest
test_class.var_name: request
test_class.declarator: response
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private HttpServletResponse response;
test_class.type: HttpServletResponse
test_class.var_name: response
test_class.file: dataprep-backend-service/src/test/java/org/talend/dataprep/i18n/DataprepLocaleContextResolverTest.java
test_class.identifier: DataprepLocaleContextResolverTest
test_case.body: @Test
      public void resolveLocaleContextWithNotFormattedLocaleDefault() throws Exception {
          DataprepLocaleContextResolver resolver = new DataprepLocaleContextResolver("abcd");
  
          Locale locale = resolver.resolveLocale(request);
          assertNotNull(locale);
          assertEquals(Locale.US, locale);
      }
test_case.class_method_signature: DataprepLocaleContextResolverTest.resolveLocaleContextWithNotFormattedLocaleDefault()
test_case.full_signature: @Test public void resolveLocaleContextWithNotFormattedLocaleDefault()
test_case.identifier: resolveLocaleContextWithNotFormattedLocaleDefault
test_case.invocations: resolveLocale assertNotNull assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void resolveLocaleContextWithNotFormattedLocaleDefault()
focal_class.declarator: LOGGER = getLogger(DataprepLocaleContextResolver.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = getLogger(DataprepLocaleContextResolver.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: DEFAULT_LOCALE = Locale.US
focal_class.modifier: private static final
focal_class.original_string: private static final Locale DEFAULT_LOCALE = Locale.US;
focal_class.type: Locale
focal_class.var_name: DEFAULT_LOCALE
focal_class.declarator: delegate = new AcceptHeaderLocaleResolver()
focal_class.modifier: private final
focal_class.original_string: private final AcceptHeaderLocaleResolver delegate = new AcceptHeaderLocaleResolver();
focal_class.type: AcceptHeaderLocaleResolver
focal_class.var_name: delegate
focal_class.file: dataprep-backend-service/src/main/java/org/talend/dataprep/i18n/DataprepLocaleContextResolver.java
focal_class.identifier: DataprepLocaleContextResolver
focal_class.interfaces: implements LocaleContextResolver
focal_class.class_method_signature: DataprepLocaleContextResolver.DataprepLocaleContextResolver(@Value("${dataprep.locale:en-US}") String configuredLocale)
focal_class.full_signature: public  DataprepLocaleContextResolver(@Value("${dataprep.locale:en-US}") String configuredLocale)
focal_class.identifier: DataprepLocaleContextResolver
focal_class.modifiers: public
focal_class.parameters: (@Value("${dataprep.locale:en-US}") String configuredLocale)
focal_class.signature:  DataprepLocaleContextResolver(@Value("${dataprep.locale:en-US}") String configuredLocale)
focal_class.class_method_signature: DataprepLocaleContextResolver.resolveApplicationLocale(String configuredLocale)
focal_class.full_signature: private Locale resolveApplicationLocale(String configuredLocale)
focal_class.identifier: resolveApplicationLocale
focal_class.modifiers: private
focal_class.parameters: (String configuredLocale)
focal_class.return: Locale
focal_class.signature: Locale resolveApplicationLocale(String configuredLocale)
focal_class.class_method_signature: DataprepLocaleContextResolver.resolveLocale(HttpServletRequest request)
focal_class.full_signature: @Override public Locale resolveLocale(HttpServletRequest request)
focal_class.identifier: resolveLocale
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request)
focal_class.return: Locale
focal_class.signature: Locale resolveLocale(HttpServletRequest request)
focal_class.class_method_signature: DataprepLocaleContextResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale)
focal_class.full_signature: @Override public void setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale)
focal_class.identifier: setLocale
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response, Locale locale)
focal_class.return: void
focal_class.signature: void setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale)
focal_class.class_method_signature: DataprepLocaleContextResolver.resolveLocaleContext(HttpServletRequest request)
focal_class.full_signature: @Override public LocaleContext resolveLocaleContext(HttpServletRequest request)
focal_class.identifier: resolveLocaleContext
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request)
focal_class.return: LocaleContext
focal_class.signature: LocaleContext resolveLocaleContext(HttpServletRequest request)
focal_class.class_method_signature: DataprepLocaleContextResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response,
              LocaleContext localeContext)
focal_class.full_signature: @Override public void setLocaleContext(HttpServletRequest request, HttpServletResponse response,
              LocaleContext localeContext)
focal_class.identifier: setLocaleContext
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response,
              LocaleContext localeContext)
focal_class.return: void
focal_class.signature: void setLocaleContext(HttpServletRequest request, HttpServletResponse response,
              LocaleContext localeContext)
focal_class.class_method_signature: DataprepLocaleContextResolver.getLocale(HttpServletRequest request)
focal_class.full_signature: private Locale getLocale(HttpServletRequest request)
focal_class.identifier: getLocale
focal_class.modifiers: private
focal_class.parameters: (HttpServletRequest request)
focal_class.return: Locale
focal_class.signature: Locale getLocale(HttpServletRequest request)
focal_method.body: @Override
      public Locale resolveLocale(HttpServletRequest request) {
          return getLocale(request);
      }
focal_method.class_method_signature: DataprepLocaleContextResolver.resolveLocale(HttpServletRequest request)
focal_method.full_signature: @Override public Locale resolveLocale(HttpServletRequest request)
focal_method.identifier: resolveLocale
focal_method.invocations: getLocale
focal_method.modifiers: @Override public
focal_method.parameters: (HttpServletRequest request)
focal_method.return: Locale
focal_method.signature: Locale resolveLocale(HttpServletRequest request)