diff options
author | Jon Bratseth <bratseth@gmail.com> | 2020-10-01 19:58:40 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2020-10-01 19:58:40 +0200 |
commit | c9335e0efde84cafdbc878fc4c4504e3ce12b93c (patch) | |
tree | 5331bbc2140855d97ed1453d803af2de6bbd3a77 /jdisc_core | |
parent | f6a19e89f468e6b4603d46763eee2d720de55776 (diff) |
Let handlers dedfine a default request type
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/handler/ResponseDispatch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ResponseDispatch.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ResponseDispatch.java index 22a77968dfd..bd519f05a57 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ResponseDispatch.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ResponseDispatch.java @@ -161,7 +161,7 @@ public abstract class ResponseDispatch extends ForwardingListenableFuture<Boolea * @param content The provider of the Response's ByteBuffer content. * @return The created ResponseDispatch. */ - public static ResponseDispatch newInstance(final Response response, final Iterable<ByteBuffer> content) { + public static ResponseDispatch newInstance(Response response, Iterable<ByteBuffer> content) { return new ResponseDispatch() { @Override |