Skip to content

Commit

Permalink
Routables can also be filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Oct 15, 2019
1 parent 963d4fb commit 7a1fc1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/client/src/org/openqa/selenium/remote/http/Routable.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ public interface Routable extends HttpHandler {

boolean matches(HttpRequest req);

default Routable with(Filter filter) {
return filter.andFinally(this);
}
}

0 comments on commit 7a1fc1e

Please sign in to comment.