Interface SavedRequestHandler
- All Known Implementing Classes:
DefaultSavedRequestHandler
public interface SavedRequestHandler
Saves a request before a login process and restores it after a successfull login.
- Since:
- 4.0.0
- Author:
- Jerome LELEU
-
Method Summary
Modifier and TypeMethodDescriptionrestore(WebContext webContext, SessionStore sessionStore, String defaultUrl) Restore the saved request.voidsave(WebContext webContext, SessionStore sessionStore) Saves the current web context.
-
Method Details
-
save
Saves the current web context.- Parameters:
webContext- the web contextsessionStore- the session store
-
restore
Restore the saved request.- Parameters:
webContext- the web contextsessionStore- the session storedefaultUrl- the default URL- Returns:
- the originally requested URL
-