Skip to content

Commit e5f50ef

Browse files
committed
extract TerminalHandler from FilterChain into a interface
1 parent a0cefab commit e5f50ef

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/org/example/server/FilterChain.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
import java.util.Objects;
44

55
public final class FilterChain {
6-
@FunctionalInterface
7-
public interface TerminalHandler {
8-
void handle(HttpRequest request, HttpResponse response);
9-
}
106

117
private final HttpFilter[] filters;
128
private final TerminalHandler terminal;

0 commit comments

Comments
 (0)