Class ContextLanguageIsGermanGuard

  • All Implemented Interfaces:
    ConditionalGuard

    public class ContextLanguageIsGermanGuard
    extends ContextLanguageIsGuard
    This guard is fulfilled if the current context language is set to DE.
    Author:
    lrosenberg
    • Constructor Detail

      • ContextLanguageIsGermanGuard

        public ContextLanguageIsGermanGuard()
    • Method Detail

      • getDesiredContextLanguage

        protected String getDesiredContextLanguage()
        Description copied from class: ContextLanguageIsGuard
        Returns the context language for this guard implementation to let pass. Remember the return value of this function must MATCH EXACTLY what you've written in the context.xml.
        Specified by:
        getDesiredContextLanguage in class ContextLanguageIsGuard
        Returns:
        context language.