// 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 Simon Thoresen */ 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(); } }