|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEngineService
A service, provided by the IEngine, for its pages and/or components.
Services are
responsible for constructing EngineServiceLinks (an encoding of URLs)
to represent dynamic application behavior, and for
parsing those URLs when a subsequent request involves them.
IEngine.getService(String)| Method Summary | |
|---|---|
ILink |
getLink(IRequestCycle cycle,
IComponent component,
Object[] parameters)
Builds a URL for a service. |
String |
getName()
Returns the name of the service. |
void |
service(IEngineServiceView engine,
IRequestCycle cycle,
ResponseOutputStream output)
Perform the service, interpreting the URL (from the HttpServletRequest)
responding appropriately, and
rendering a result page. |
| Method Detail |
|---|
ILink getLink(IRequestCycle cycle,
IComponent component,
Object[] parameters)
cycle - Defines the request cycle being processed.component - The component requesting the URL. Generally, the
service context is established from the component.parameters - Additional parameters specific to the
component requesting the EngineServiceLink.
HttpServletResponse.encodeURL(java.lang.String).
void service(IEngineServiceView engine,
IRequestCycle cycle,
ResponseOutputStream output)
throws ServletException,
IOException
HttpServletRequest)
responding appropriately, and
rendering a result page.
engine - a view of the IEngine with additional methods needed by servicescycle - the incoming requestoutput - stream to which output should ultimately be directed
ServletException
IOExceptionIEngine.service(org.apache.tapestry.request.RequestContext)String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||