W
- was Web Request or Session backed by BasicSession
or BasicSession
itselfS
- as Shell
typepublic class WicketWebToShellTransformer<W,S extends Shell> extends Object implements FunctionTransformer<W,S>
UserShell
from a HttpServletRequest
, HttpSession
, BasicSession
or Request
that are supported
by an underlying BasicSession
.Constructor and Description |
---|
WicketWebToShellTransformer() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.Transformer |
getNullBasicSessionTransformer()
If not null then if there is no backing
BasicSession this will be invoked with the given input.By default it will return a null for a null session. |
void |
setNullBasicSessionTransformer(org.apache.commons.collections.Transformer nullBasicSessionTransformer)
If not null then if there is no backing
BasicSession this will be invoked with the given input.By default it will return a null for a null session. |
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public org.apache.commons.collections.Transformer getNullBasicSessionTransformer()
BasicSession
this will be invoked with the given input.public void setNullBasicSessionTransformer(org.apache.commons.collections.Transformer nullBasicSessionTransformer)
BasicSession
this will be invoked with the given input.Copyright © 2018. All rights reserved.