|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.engine.TagSupportService
public class TagSupportService
A very specialized service used by JSPs to access Tapestry URLs.
This is used by the Tapestry JSP tags, such as
PageTag
.
URLRetriever
Constructor Summary | |
---|---|
TagSupportService()
|
Method Summary | |
---|---|
ILink |
getLink(IRequestCycle cycle,
IComponent component,
Object[] parameters)
Not to be invoked; this service is different than the others. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagSupportService()
Method Detail |
---|
public ILink getLink(IRequestCycle cycle, IComponent component, Object[] parameters)
getLink
in interface IEngineService
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)
.
ApplicationRuntimeException
- alwayspublic void service(IEngineServiceView engine, IRequestCycle cycle, ResponseOutputStream output) throws ServletException, IOException
IEngineService
HttpServletRequest
)
responding appropriately, and
rendering a result page.
service
in interface IEngineService
engine
- a view of the IEngine
with additional methods needed by servicescycle
- the incoming requestoutput
- stream to which output should ultimately be directed
ServletException
IOException
IEngine.service(org.apache.tapestry.request.RequestContext)
public String getName()
IEngineService
getName
in interface IEngineService
Tapestry.TAGSUPPORT_SERVICE
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |