def compile_request(self, request):
    '\n\n        :type request: HierarchicHTTPRequest\n        :return:\n        '
    sampler = children = None
    protocol_name = request.priority_option('protocol', default=self.default_protocol)
    if (protocol_name in self.protocol_handlers):
        protocol = self.protocol_handlers[protocol_name]
        (sampler, children) = protocol.get_sampler_pair(request)
    if (sampler is None):
        self.log.warning('Problematic request: %s', request.config)
        raise TaurusInternalException('Unable to handle request, please review missing options')
    children.extend(self._get_timer(request))
    self.__add_assertions(children, request)
    self.__add_extractors(children, request)
    self.__add_jsr_elements(children, request)
    return [sampler, children]
:type request: HierarchicHTTPRequest
:return:
def compile_request(self, request):
    '\n\n        :type request: HierarchicHTTPRequest\n        :return:\n        '
    sampler = children = None
    protocol_name = request.priority_option('protocol', default=self.default_protocol)
    if (protocol_name in self.protocol_handlers):
        protocol = self.protocol_handlers[protocol_name]
        (sampler, children) = protocol.get_sampler_pair(request)
    if (sampler is None):
        self.log.warning('Problematic request: %s', request.config)
        raise TaurusInternalException('Unable to handle request, please review missing options')
    children.extend(self._get_timer(request))
    self.__add_assertions(children, request)
    self.__add_extractors(children, request)
    self.__add_jsr_elements(children, request)
    return [sampler, children]