Class RedirectPage

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IManageablePage, IRequestableComponent, IRequestablePage, IHierarchical<Component>, IClusterable

public class RedirectPage extends WebPage
Page that let the browser redirect. Use this if you want to direct the browser to some external URL, like Google etc. or if you want to redirect to a Wicket page, but with a delay.
Author:
Eelco Hillenius
See Also:
  • Constructor Details

    • RedirectPage

      Constructor. The page will immediately redirect to the given url.
      Parameters:
      url - The url to redirect to
    • RedirectPage

      public RedirectPage(CharSequence url, int waitBeforeRedirectInSeconds)
      Constructor. The page will redirect to the given url after waiting for the given number of seconds.
      Parameters:
      url - The url to redirect to
      waitBeforeRedirectInSeconds - The number of seconds the browser should wait before redirecting
    • RedirectPage

      public RedirectPage(Page page)
      Construct. The page will redirect to the given Page.
      Parameters:
      page - The page to redirect to.
    • RedirectPage

      public RedirectPage(Page page, int waitBeforeRedirectInSeconds)
      Construct. The page will redirect to the given Page after waiting for the given number of seconds.
      Parameters:
      page - The page to redirect to.
      waitBeforeRedirectInSeconds - The number of seconds the browser should wait before redirecting
  • Method Details