Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.authroles.authentication | |
org.apache.wicket.devutils.inspector |
Classes that make debugging Wicket HTML applications easier.
|
org.apache.wicket.examples.authentication1 | |
org.apache.wicket.examples.authentication2 | |
org.apache.wicket.examples.authentication3 | |
org.apache.wicket.examples.authorization | |
org.apache.wicket.examples.forminput | |
org.apache.wicket.examples.hangman | |
org.apache.wicket.examples.library | |
org.apache.wicket.mock | |
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.session | |
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Method and Description |
---|---|
Session |
Application.fetchCreateAndSetSession(RequestCycle requestCycle) |
static Session |
Session.get()
Returns session associated to current thread.
|
static Session |
ThreadContext.getSession() |
Session |
Component.getSession()
Gets the current Session object.
|
abstract Session |
Application.newSession(Request request,
Response response)
Creates a new session.
|
Session |
Session.setAttribute(String name,
Serializable value)
Adds or replaces the attribute with the given name and value.
|
Session |
Session.setClientInfo(ClientInfo clientInfo)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
|
Session |
Session.setLocale(Locale locale)
Set the locale for this session.
|
<M extends Serializable> |
Session.setMetaData(MetaDataKey<M> key,
M object)
Sets the metadata for this session using the given key.
|
Session |
Session.setStyle(String style)
Set the style (see
Session ). |
Modifier and Type | Method and Description |
---|---|
default void |
ISessionListener.onCreated(Session session)
Called when a new instance of session is created
|
void |
SessionListenerCollection.onCreated(Session session) |
static void |
ThreadContext.setSession(Session session)
Binds the session to current thread.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuthenticatedWebSession
Authenticated web session.
|
class |
AuthenticatedWebSession
Basic authenticated web session.
|
Modifier and Type | Method and Description |
---|---|
Session |
AuthenticatedWebApplication.newSession(Request request,
Response response)
Creates a new session.
|
Constructor and Description |
---|
SessionView(String id,
Session session)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SignInSession
Session class for signin example.
|
Modifier and Type | Method and Description |
---|---|
Session |
SignInApplication.newSession(Request request,
Response response) |
Modifier and Type | Class and Description |
---|---|
class |
SignIn2Session
Session class for signin example.
|
Modifier and Type | Method and Description |
---|---|
Session |
SignIn2Application.newSession(Request request,
Response response) |
Modifier and Type | Class and Description |
---|---|
class |
MyAuthenticatedWebSession
Authenticated session subclass.
|
Modifier and Type | Class and Description |
---|---|
class |
RolesSession
Web Session for this example.
|
Modifier and Type | Method and Description |
---|---|
Session |
RolesApplication.newSession(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
Session |
FormInputApplication.newSession(Request request,
Response response) |
Modifier and Type | Class and Description |
---|---|
class |
HangmanSession
Session for hangman game.
|
Modifier and Type | Method and Description |
---|---|
Session |
HangmanApplication.newSession(Request request,
Response response) |
Modifier and Type | Class and Description |
---|---|
class |
LibrarySession
Session class for library example.
|
Modifier and Type | Method and Description |
---|---|
Session |
LibraryApplication.newSession(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
Session |
MockApplication.getSession() |
Session |
MockSessionStore.lookup(Request request) |
Modifier and Type | Method and Description |
---|---|
void |
MockSessionStore.bind(Request request,
Session newSession) |
void |
MockSessionStore.flushSession(Request request,
Session session) |
Modifier and Type | Class and Description |
---|---|
class |
WebSession
A session subclass for the HTTP protocol.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebApplication.newSession(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
protected Session |
HttpSessionStore.getWicketSession(Request request)
Reads the Wicket
Session from the HttpSession 's attribute |
Session |
ISessionStore.lookup(Request request)
Retrieves the session for the provided request from this facade.
|
Session |
HttpSessionStore.lookup(Request request) |
Modifier and Type | Method and Description |
---|---|
void |
ISessionStore.bind(Request request,
Session newSession)
Adds the provided new session to this facade using the provided request.
|
void |
HttpSessionStore.bind(Request request,
Session newSession) |
void |
ISessionStore.BindListener.bindingSession(Request request,
Session newSession)
Informs the listener that a session is about to be bound.
|
void |
ISessionStore.flushSession(Request request,
Session session)
Flushes the session.
|
void |
HttpSessionStore.flushSession(Request request,
Session session) |
protected void |
HttpSessionStore.onBind(Request request,
Session newSession)
Template method that is called when a session is being bound to the session store.
|
protected void |
HttpSessionStore.setWicketSession(Request request,
Session session)
Stores the Wicket
Session in an attribute in the HttpSession |
Constructor and Description |
---|
SessionBindingListener(String applicationKey,
Session wicketSession)
Construct.
|
Modifier and Type | Method and Description |
---|---|
Session |
BaseWicketTester.getSession() |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.