Skip to content

Commit

Permalink
SpecialHttpExecutionStrategy should implement all interface methods (
Browse files Browse the repository at this point in the history
…#2469)

Motivation:

`SpecialHttpExecutionStrategy` impls miss override for `isRequestResponseOffloaded()` flag.
While it still computes the same result, it's better to be explicit for these implementations.
  • Loading branch information
idelpivnitskiy authored Dec 19, 2022
1 parent 4791eaf commit 7e7f201
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public boolean hasOffloads() {
return false;
}

@Override
public boolean isRequestResponseOffloaded() {
return false;
}

@Override
public boolean isMetadataReceiveOffloaded() {
return false;
Expand Down Expand Up @@ -93,6 +98,11 @@ public boolean hasOffloads() {
return true;
}

@Override
public boolean isRequestResponseOffloaded() {
return true;
}

@Override
public boolean isMetadataReceiveOffloaded() {
return true;
Expand Down

0 comments on commit 7e7f201

Please sign in to comment.