aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/processing/execution/ResponseReceiver.java
blob: 57b3d4e6f2cfa4562bfa2733e9cb3d8c8cb330d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing.execution;

import com.yahoo.processing.Response;

/**
 * An interface for classes which can be given responses.
 * Freeze listeners may implement this to be handed the response
 * before they are run. There is probably no other sensible use for this.
 *
 * @author bratseth
 */
public interface ResponseReceiver {

    public void setResponse(Response response);

}