org.apache.cocoon.components.flow.apples
Interface AppleController

All Known Subinterfaces:
StatelessAppleController
All Known Implementing Classes:
BindingWoodyApple, CalculationApple, GuessGameApple, HanoiApple

public interface AppleController

AppleController declares the main processing interfaces for the stateful controller objects.

Implementations are advised to implement Avalon lifecycle interfaces.


Method Summary
 void process(AppleRequest req, AppleResponse res)
          Allows the AppleController implementation to make some business decissions in a given web application flow.
 

Method Detail

process

void process(AppleRequest req,
             AppleResponse res)
             throws Exception
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

Throws:
Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.