blob: d95b62186b25db75fe4cb4c02e5bff0b151fad9f (
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
|
// Copyright 2016 Yahoo Inc. 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.RequestHandler;
import com.yahoo.jdisc.handler.ResponseHandler;
/**
* @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
*/
public final class NonWorkingRequestHandler extends NoopSharedResource implements RequestHandler {
@Override
public ContentChannel handleRequest(Request request, ResponseHandler handler) {
throw new UnsupportedOperationException();
}
@Override
public void handleTimeout(Request request, ResponseHandler handler) {
throw new UnsupportedOperationException();
}
}
|