org.apache.wicket.protocol.https
Class HttpsMapper.RedirectHandler

java.lang.Object
  extended by org.apache.wicket.protocol.https.HttpsMapper.RedirectHandler
All Implemented Interfaces:
IRequestHandler
Enclosing class:
HttpsMapper

public static class HttpsMapper.RedirectHandler
extends Object
implements IRequestHandler

Handler that takes care of redirecting

Author:
igor

Constructor Summary
HttpsMapper.RedirectHandler(String url, HttpsConfig config)
          Constructor
 
Method Summary
 void detach(IRequestCycle requestCycle)
          This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.
 String getUrl()
           
 void respond(IRequestCycle requestCycle)
          Generates a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsMapper.RedirectHandler

public HttpsMapper.RedirectHandler(String url,
                                   HttpsConfig config)
Constructor

Parameters:
config - https config
url - redirect location
Method Detail

getUrl

public String getUrl()
Returns:
redirect location

respond

public void respond(IRequestCycle requestCycle)
Description copied from interface: IRequestHandler
Generates a response.

Specified by:
respond in interface IRequestHandler
Parameters:
requestCycle - the current request cycle

detach

public void detach(IRequestCycle requestCycle)
Description copied from interface: IRequestHandler
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.

Specified by:
detach in interface IRequestHandler
Parameters:
requestCycle - the current request cycle


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.