Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.tapestry.engine
Class DirectService  view DirectService download DirectService.java

java.lang.Object
  extended byorg.apache.tapestry.engine.AbstractService
      extended byorg.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

Field Summary
static com.cortexeb.tools.clover.d __CLOVER_80_0
           
private static java.lang.String STATEFUL_OFF
          Encoded into URL if engine was not stateful.
private static java.lang.String STATEFUL_ON
          Encoded into URL if engine was stateful.
 
Fields inherited from class org.apache.tapestry.engine.AbstractService
__CLOVER_72_0
 
Constructor Summary
DirectService()
           
 
Method Summary
 ILink getLink(org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.IComponent component, java.lang.Object[] parameters)
          Builds a URL for a service.
 java.lang.String getName()
          Returns the name of the service.
 void service(IEngineServiceView engine, org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.request.ResponseOutputStream output)
          Perform the service, interpreting the URL (from the javax.servlet.http.HttpServletRequest) responding appropriately, and rendering a result page.
 
Methods inherited from class org.apache.tapestry.engine.AbstractService
constructLink, getParameters, getServiceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__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
Constructor Detail

DirectService

public DirectService()
Method Detail

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.