diff options
Diffstat (limited to 'jdisc_http_service/src/main/java/com/yahoo/jdisc/http/client/EmptyRequest.java')
-rw-r--r-- | jdisc_http_service/src/main/java/com/yahoo/jdisc/http/client/EmptyRequest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/client/EmptyRequest.java b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/client/EmptyRequest.java deleted file mode 100644 index 30a3809e30a..00000000000 --- a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/client/EmptyRequest.java +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.jdisc.http.client; - -import com.ning.http.client.AsyncHttpClient; -import com.yahoo.jdisc.Metric; -import com.yahoo.jdisc.Request; -import com.yahoo.jdisc.handler.ContentChannel; -import com.yahoo.jdisc.handler.ResponseHandler; -import com.yahoo.jdisc.http.HttpRequest; - -/** - * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a> - */ -final class EmptyRequest { - - private EmptyRequest() { - // hide - } - - public static ContentChannel executeRequest(AsyncHttpClient ningClient, Request request, HttpRequest.Method method, - ResponseHandler handler, Metric metric, Metric.Context ctx) { - return new EmptyRequestContent(ningClient, request, method, - new AsyncResponseHandler(request, handler, metric, ctx)); - } -} |