Package org.takes.tk
Class TkSmartRedirect
- java.lang.Object
-
- org.takes.tk.TkWrap
-
- org.takes.tk.TkSmartRedirect
-
-
Constructor Summary
Constructors Constructor Description TkSmartRedirect()
Ctor.TkSmartRedirect(String location)
Ctor.TkSmartRedirect(String location, int code)
Ctor.
-
-
-
Constructor Detail
-
TkSmartRedirect
public TkSmartRedirect()
Ctor.
-
TkSmartRedirect
public TkSmartRedirect(String location)
Ctor.- Parameters:
location
- Location to redirect to
-
TkSmartRedirect
public TkSmartRedirect(String location, int code)
Ctor.- Parameters:
location
- Location to redirect tocode
- Redirection status code
-
-