Exemple #1
0
    def __init__(self):
        assert isinstance(
            self.separatorName,
            str), 'Invalid separator for names %s' % self.separatorName
        assert isinstance(
            self.nameOrderAsc,
            str), 'Invalid name for ascending %s' % self.nameOrderAsc
        assert isinstance(
            self.nameOrderDesc,
            str), 'Invalid name for descending %s' % self.nameOrderDesc
        assert isinstance(
            self.regexSplitValues,
            str), 'Invalid regex for values split %s' % self.regexSplitValues
        assert isinstance(
            self.separatorValue,
            str), 'Invalid separator for values %s' % self.separatorValue
        assert isinstance(self.regexNormalizeValue, str), \
        'Invalid regex for value normalize %s' % self.regexNormalizeValue
        assert isinstance(self.separatorValueEscape, str), \
        'Invalid separator escape for values %s' % self.separatorValueEscape
        HandlerProcessorProceed.__init__(self)

        self._reSplitValues = re.compile(self.regexSplitValues)
        self._reNormalizeValue = re.compile(self.regexNormalizeValue)
        self._cacheDecode = WeakKeyDictionary()
        self._cacheEncode = WeakKeyDictionary()
Exemple #2
0
    def __init__(self):
        assert isinstance(self.separatorName, str), 'Invalid separator for names %s' % self.separatorName
        assert isinstance(self.nameOrderAsc, str), 'Invalid name for ascending %s' % self.nameOrderAsc
        assert isinstance(self.nameOrderDesc, str), 'Invalid name for descending %s' % self.nameOrderDesc
        assert isinstance(self.regexSplitValues, str), 'Invalid regex for values split %s' % self.regexSplitValues
        assert isinstance(self.separatorValue, str), 'Invalid separator for values %s' % self.separatorValue
        assert isinstance(self.regexNormalizeValue, str), \
        'Invalid regex for value normalize %s' % self.regexNormalizeValue
        assert isinstance(self.separatorValueEscape, str), \
        'Invalid separator escape for values %s' % self.separatorValueEscape
        HandlerProcessorProceed.__init__(self)

        self._reSplitValues = re.compile(self.regexSplitValues)
        self._reNormalizeValue = re.compile(self.regexNormalizeValue)
        self._cacheDecode = WeakKeyDictionary()
        self._cacheEncode = WeakKeyDictionary()
 def __init__(self):
     HandlerProcessorProceed.__init__(self)
     AuthenticatedUserConfigurations.__init__(self)
Exemple #4
0
 def __init__(self):
     ContentTypeConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
Exemple #5
0
 def __init__(self):
     assert isinstance(
         self.useParameters,
         bool), 'Invalid use parameters flag %s' % self.useParameters
     HeaderConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
Exemple #6
0
 def __init__(self):
     HeaderConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
Exemple #7
0
 def __init__(self):
     assert isinstance(self.useParameters, bool), 'Invalid use parameters flag %s' % self.useParameters
     HeaderConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
Exemple #8
0
 def __init__(self):
     HeaderConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
Exemple #9
0
 def __init__(self):
     HandlerProcessorProceed.__init__(self)
     AcceptConfigurations.__init__(self)
Exemple #10
0
 def __init__(self):
     HandlerProcessorProceed.__init__(self)
     AcceptConfigurations.__init__(self)
 def __init__(self):
     ContentTypeConfigurations.__init__(self)
     HandlerProcessorProceed.__init__(self)
 def __init__(self):
     HandlerProcessorProceed.__init__(self)
     AuthenticatedUserConfigurations.__init__(self)