net.craftforge.essential.controller.phases
Class ProductionPhase
java.lang.Object
net.craftforge.essential.controller.phases.ProductionPhase
- All Implemented Interfaces:
- Phase
public class ProductionPhase
- extends Object
- implements Phase
Produces a serialized response from the result.
- Since:
- 17.01.2011
- Author:
- Christian Bick
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductionPhase
public ProductionPhase(State state,
Setup setup)
- Creates a production phase from a controller state and setup.
- Parameters:
state - The controller statesetup - The controller setup
run
public void run()
throws ControllerException
- Runs the phase.
- Specified by:
run in interface Phase
- Throws:
ControllerException - Failed to run phase
getHeadersWithoutContent
protected Map<String,String[]> getHeadersWithoutContent()
throws ControllerException
- Throws:
ControllerException
getHeadersWithContent
protected Map<String,String[]> getHeadersWithContent(Producer producer)
throws ControllerException
- Throws:
ControllerException
getProducer
protected Producer getProducer()
throws ControllerException
- Throws:
ControllerException
Copyright © 2011. All Rights Reserved.