org.apache.wicket
Interface IRequestTarget

All Known Subinterfaces:
IBookmarkablePageRequestTarget, IComponentRequestTarget, IListenerInterfaceRequestTarget, IPageRequestTarget, ISharedResourceRequestTarget
All Known Implementing Classes:
AbstractListenerInterfaceRequestTarget, AjaxRequestTarget, BehaviorRequestTarget, BookmarkableListenerInterfaceRequestTarget, BookmarkablePageRequestTarget, CapturingBookmarkablePageRequestTarget, ComponentRequestTarget, ComponentResourceRequestTarget, EmptyAjaxRequestTarget, EmptyRequestTarget, ExpiredPageClassRequestTarget, HybridUrlCodingStrategy.HybridBookmarkablePageRequestTarget, ListenerInterfaceRequestTarget, PageIdRequestTarget, PageReferenceRequestTarget, PageRequestTarget, RedirectPageRequestTarget, RedirectRequestTarget, ResourceStreamRequestTarget, SharedResourceRequestTarget, StringRequestTarget, WebErrorCodeResponseTarget, WebExternalResourceRequestTarget

public interface IRequestTarget

A request target is the base entity that is the subject of a request. Different types of request have different request targets. For instance a request for a bookmarkable page differs from a request for a link on a previously rendered page, which in turn differs from a request for a shared resource.

It is very important (for mounting) that implementations implement Object.equals(java.lang.Object) and Object.hashCode() in a consistent way.

Typically, implementations of IRequestTarget are not meant to be used more than once.

Author:
Eelco Hillenius

Method Summary
 void detach(RequestCycle 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.
 void respond(RequestCycle requestCycle)
          Generates a response.
 

Method Detail

respond

void respond(RequestCycle requestCycle)
Generates a response.

Parameters:
requestCycle - the current request cycle

detach

void detach(RequestCycle 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.

Parameters:
requestCycle - the current request cycle


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.