Skip to content

Commit

Permalink
Fix CombinedHttpTagger
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldraper committed Mar 14, 2017
1 parent 88520ab commit 8ab5ed2
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,27 @@ public CombinedHttpTagger(Iterable<HttpTagger> taggers) {


public void tagTarget(HttpHost route) {
for (HttpTagger tagger : taggers) {
for (final HttpTagger tagger : taggers) {
tagger.tagTarget(route);
}
}

public void tagRequest(HttpRequest request) {

for (final HttpTagger tagger : taggers) {
tagger.tagRequest(request);
}
}

public void tagResponse(HttpResponse context) {
public void tagResponse(HttpResponse response) {
for (final HttpTagger tagger : taggers) {
tagger.tagResponse(response);
}
}

public void tagContext() {
for (final HttpTagger tagger : taggers) {
tagger.tagContext();
}
}

}

0 comments on commit 8ab5ed2

Please sign in to comment.