org.apache.cocoon.components.flow.apples.samples
Class GuessGameApple
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.flow.apples.samples.GuessGameApple
- All Implemented Interfaces:
- LogEnabled, AppleController
public class GuessGameApple
- extends AbstractLogEnabled
- implements AppleController
GuessGameApple shows an easy Apples implementation for a number guessing game.
GuessGameApple
public GuessGameApple()
toString
public String toString()
- Overrides:
toString
in class Object
process
public void process(AppleRequest req,
AppleResponse res)
throws ProcessingException
- Description copied from interface:
AppleController
- Allows the AppleController implementation to make some business decissions
in a given web application flow.
Typically those decissions will be based upon what it can find inside the
passed AppleRequest
and result into setting specific aspects of the
AppleResponse
- Specified by:
process
in interface AppleController
- Throws:
ProcessingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.