ontopoly.utils
Class AbsoluteUrlRequestCodingStrategy

java.lang.Object
  extended by ontopoly.utils.AbsoluteUrlRequestCodingStrategy
All Implemented Interfaces:
org.apache.wicket.request.IRequestCodingStrategy, org.apache.wicket.request.IRequestTargetMounter

public class AbsoluteUrlRequestCodingStrategy
extends java.lang.Object
implements org.apache.wicket.request.IRequestCodingStrategy


Constructor Summary
AbsoluteUrlRequestCodingStrategy(org.apache.wicket.request.IRequestCodingStrategy defaultStrategy)
           
 
Method Summary
 void addIgnoreMountPath(java.lang.String path)
           
 org.apache.wicket.request.RequestParameters decode(org.apache.wicket.Request request)
           
 java.lang.CharSequence encode(org.apache.wicket.RequestCycle requestCycle, org.apache.wicket.IRequestTarget requestTarget)
           
 void mount(org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy urlCodingStrategy)
           
 java.lang.CharSequence pathForTarget(org.apache.wicket.IRequestTarget requestTarget)
           
 java.lang.String rewriteStaticRelativeUrl(java.lang.String string)
           
 org.apache.wicket.IRequestTarget targetForRequest(org.apache.wicket.request.RequestParameters requestParameters)
           
static java.lang.CharSequence toAbsoluteUrl(java.lang.String url)
           
 void unmount(java.lang.String path)
           
 org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy urlCodingStrategyForPath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteUrlRequestCodingStrategy

public AbsoluteUrlRequestCodingStrategy(org.apache.wicket.request.IRequestCodingStrategy defaultStrategy)
Method Detail

toAbsoluteUrl

public static java.lang.CharSequence toAbsoluteUrl(java.lang.String url)

decode

public org.apache.wicket.request.RequestParameters decode(org.apache.wicket.Request request)
Specified by:
decode in interface org.apache.wicket.request.IRequestCodingStrategy

encode

public java.lang.CharSequence encode(org.apache.wicket.RequestCycle requestCycle,
                                     org.apache.wicket.IRequestTarget requestTarget)
Specified by:
encode in interface org.apache.wicket.request.IRequestCodingStrategy

rewriteStaticRelativeUrl

public java.lang.String rewriteStaticRelativeUrl(java.lang.String string)
Specified by:
rewriteStaticRelativeUrl in interface org.apache.wicket.request.IRequestCodingStrategy

addIgnoreMountPath

public void addIgnoreMountPath(java.lang.String path)
Specified by:
addIgnoreMountPath in interface org.apache.wicket.request.IRequestTargetMounter

mount

public void mount(org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy urlCodingStrategy)
Specified by:
mount in interface org.apache.wicket.request.IRequestTargetMounter

pathForTarget

public java.lang.CharSequence pathForTarget(org.apache.wicket.IRequestTarget requestTarget)
Specified by:
pathForTarget in interface org.apache.wicket.request.IRequestTargetMounter

targetForRequest

public org.apache.wicket.IRequestTarget targetForRequest(org.apache.wicket.request.RequestParameters requestParameters)
Specified by:
targetForRequest in interface org.apache.wicket.request.IRequestTargetMounter

unmount

public void unmount(java.lang.String path)
Specified by:
unmount in interface org.apache.wicket.request.IRequestTargetMounter

urlCodingStrategyForPath

public org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy urlCodingStrategyForPath(java.lang.String path)
Specified by:
urlCodingStrategyForPath in interface org.apache.wicket.request.IRequestTargetMounter


Copyright © 2000-2012 Ontopia.