|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tacos.ajax.contrib.PrototypeResponseContributorImpl
public class PrototypeResponseContributorImpl
Implementation of the prototype library contributor.
Determines if incoming request is a valid prototype request via the existence of an http header named "X-Prototype-Version", having a value of "1.4.0"
Field Summary | |
---|---|
static String |
PROTOTYPE_VERSION
Currently supported rico version |
static String |
PROTOTYPE_VERSION_HEADER
Key in Http header for Prototype library version |
Constructor Summary | |
---|---|
PrototypeResponseContributorImpl()
|
Method Summary | |
---|---|
ResponseBuilder |
createBuilder(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.web.WebRequest request)
Creates the appropriate ResponseBuilder instance to handle the
incoming ajax request. |
boolean |
handlesResponse(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.web.WebRequest request)
Determines if the incoming ajax request is capable of being handled by the ResponseBuilder this contributor
manages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE_VERSION_HEADER
public static final String PROTOTYPE_VERSION
Constructor Detail |
---|
public PrototypeResponseContributorImpl()
Method Detail |
---|
public ResponseBuilder createBuilder(org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.web.WebRequest request)
ResponseBuilder
instance to handle the
incoming ajax request.
createBuilder
in interface ResponseContributor
public boolean handlesResponse(org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.web.WebRequest request)
ResponseBuilder
this contributor
manages.
handlesResponse
in interface ResponseContributor
cycle
- Main request cyclerequest
- HttpRequest associated with request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |