All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.processing.handler.ProcessingHandler Maven / Gradle / Ivy

There is a newer version: 8.458.13
Show newest version
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing.handler;

import com.google.inject.Inject;
import com.yahoo.component.provider.ComponentRegistry;
import com.yahoo.container.core.ChainsConfig;
import com.yahoo.container.logging.AccessLog;
import com.yahoo.jdisc.Metric;
import com.yahoo.processing.Processor;
import com.yahoo.processing.execution.chain.ChainRegistry;
import com.yahoo.processing.rendering.Renderer;

import java.util.concurrent.Executor;

/**
 * A jDisc request handler which invokes a processing chain to produce the response.
 *
 * @author tonytv
 * @since 5.1.7
 */
public class ProcessingHandler extends AbstractProcessingHandler {
    public ProcessingHandler(ChainRegistry chainRegistry,
                             ComponentRegistry renderers,
                             Executor executor,
                             AccessLog accessLog,
                             Metric metric) {
        super(chainRegistry, renderers, executor, accessLog, metric);
    }

    public ProcessingHandler(ChainRegistry chainRegistry,
                             ComponentRegistry renderers,
                             Executor executor,
                             AccessLog accessLog) {
        super(chainRegistry, renderers, executor, accessLog);
    }

    public ProcessingHandler(ChainsConfig processingChainsConfig,
                             ComponentRegistry chainedComponents,
                             ComponentRegistry renderers,
                             Executor executor,
                             AccessLog accessLog) {
        super(processingChainsConfig, chainedComponents, renderers, executor, accessLog);
    }

    @Inject
    public ProcessingHandler(ChainsConfig processingChainsConfig,
                             ComponentRegistry chainedComponents,
                             ComponentRegistry renderers,
                             Executor executor,
                             AccessLog accessLog,
                             Metric metric) {
        super(processingChainsConfig, chainedComponents, renderers, executor, accessLog, metric);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy