You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: src/ktt/lib/httpserver/handler/RedirectHandler.java
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
importjava.io.IOException;
8
8
9
9
/**
10
-
* A request handler that redirects to a different URL without pushing to the history.
10
+
* A request handler that redirects to a different URL without pushing to the history. The URL may not work correctly if it does not have a valid authority (<code>http</code>/<code>https</code>).
11
11
*
12
12
* @see SimpleHttpHandler
13
13
* @see com.sun.net.httpserver.HttpHandler
@@ -33,8 +33,13 @@ public RedirectHandler(final String link){
0 commit comments