java.lang.Object
org.apache.tapestry.engine.AbstractService
org.apache.tapestry.engine.DirectService
- All Implemented Interfaces:
- IEngineService
- public class DirectService
- extends AbstractService
Implementation of the direct service, which encodes the page and component id in
the service context, and passes application-defined parameters as well.
- Since:
- 1.0.9
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__CLOVER_80_0
public static com.cortexeb.tools.clover.d __CLOVER_80_0
STATEFUL_ON
private static final java.lang.String STATEFUL_ON
- Encoded into URL if engine was stateful.
- Since:
- 3.0
- See Also:
- Constant Field Values
STATEFUL_OFF
private static final java.lang.String STATEFUL_OFF
- Encoded into URL if engine was not stateful.
- Since:
- 3.0
- See Also:
- Constant Field Values
DirectService
public DirectService()
getLink
public ILink getLink(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.IComponent component,
java.lang.Object[] parameters)
- Description copied from interface:
IEngineService
- Builds a URL for a service. This is performed during the
rendering phase of one request cycle and bulds URLs that will
invoke activity in a subsequent request cycle.
service
public void service(IEngineServiceView engine,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.request.ResponseOutputStream output)
throws javax.servlet.ServletException,
java.io.IOException
- Description copied from interface:
IEngineService
- Perform the service, interpreting the URL (from the
javax.servlet.http.HttpServletRequest)
responding appropriately, and
rendering a result page.
getName
public java.lang.String getName()
- Description copied from interface:
IEngineService
- Returns the name of the service.