|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.protocol.http.request.WebRequestCodingStrategy
org.apache.wicket.protocol.http.request.urlcompressing.UrlCompressingWebCodingStrategy
public class UrlCompressingWebCodingStrategy
Use this CodingStategy with the UrlCompressingWebRequestProcessor
to minimize the
wicket:interface urls. The component path and the interface name will be removed from the url and
only an uid will be inserted into the url.
Use it like this:
protected IRequestCycleProcessor newRequestCycleProcessor() { return new UrlCompressingWebRequestProcessor(); }
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.protocol.http.request.WebRequestCodingStrategy |
---|
WebRequestCodingStrategy.Settings |
Field Summary |
---|
Fields inherited from class org.apache.wicket.protocol.http.request.WebRequestCodingStrategy |
---|
BEHAVIOR_ID_PARAMETER_NAME, BOOKMARKABLE_PAGE_PARAMETER_NAME, DEFAULT_PAGEMAP_NAME, IGNORE_IF_NOT_ACTIVE_PARAMETER_NAME, INTERFACE_PARAMETER_NAME, NAME_SPACE, PAGEMAP, RESOURCES_PATH_PREFIX |
Constructor Summary | |
---|---|
UrlCompressingWebCodingStrategy()
|
Method Summary | |
---|---|
protected java.lang.CharSequence |
encode(RequestCycle requestCycle,
IListenerInterfaceRequestTarget requestTarget)
Encode a listener interface target. |
Methods inherited from class org.apache.wicket.protocol.http.request.WebRequestCodingStrategy |
---|
addBookmarkablePageParameters, addInterfaceParameters, addInterfaceParameters, addResourceParameters, decode, decodePageMapName, doEncode, encode, encode, encode, encode, encode, encodePageMapName, getMountEncoder, getRequestPath, listMounts, mount, pathForTarget, targetForRequest, unmount, urlCodingStrategyForPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlCompressingWebCodingStrategy()
Method Detail |
---|
protected java.lang.CharSequence encode(RequestCycle requestCycle, IListenerInterfaceRequestTarget requestTarget)
encode
in class WebRequestCodingStrategy
requestCycle
- the current request cyclerequestTarget
- the target to encode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |