blob: 57bbd3f2091d8e097ba233cb54f122a019c45067 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.test;
import com.yahoo.jdisc.NoopSharedResource;
import com.yahoo.jdisc.Request;
import com.yahoo.jdisc.handler.ContentChannel;
import com.yahoo.jdisc.handler.ResponseHandler;
import com.yahoo.jdisc.service.ClientProvider;
/**
* @author Simon Thoresen Hult
*/
public final class NonWorkingClientProvider extends NoopSharedResource implements ClientProvider {
@Override
public void start() {
}
@Override
public ContentChannel handleRequest(Request request, ResponseHandler handler) {
throw new UnsupportedOperationException();
}
@Override
public void handleTimeout(Request request, ResponseHandler handler) {
throw new UnsupportedOperationException();
}
}
|