Skip to content

Commit 0552c58

Browse files
committed
router: remove Serializable from Route.Handler fix #3802
1 parent 52581a1 commit 0552c58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jooby/src/main/java/io/jooby/Route.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import static java.util.Optional.ofNullable;
99

10-
import java.io.Serializable;
1110
import java.lang.invoke.MethodHandle;
1211
import java.lang.invoke.MethodHandles;
1312
import java.lang.reflect.Method;
@@ -270,7 +269,7 @@ default void setRoute(Route route) {}
270269
* @author edgar
271270
* @since 2.0.0
272271
*/
273-
public interface Handler extends Serializable, Aware {
272+
public interface Handler extends Aware {
274273

275274
/**
276275
* Execute application code.

0 commit comments

Comments
 (0)