nl.pbemengine.engine.ng.base.webserver
Class DirectResultAction

java.lang.Object
  extended by nl.pbemengine.engine.ng.base.webserver.DirectResultAction
All Implemented Interfaces:
ResultAction

public class DirectResultAction
extends java.lang.Object
implements ResultAction

A result action that sends bytes directly to the client

Author:
Jeroen Steenbeeke

Constructor Summary
DirectResultAction(java.lang.String directKey, java.lang.String mimeType)
           
 
Method Summary
 Content processResult(Action action)
          Takes an action object and generate a Content object for it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectResultAction

public DirectResultAction(java.lang.String directKey,
                          java.lang.String mimeType)
Method Detail

processResult

public Content processResult(Action action)
Description copied from interface: ResultAction
Takes an action object and generate a Content object for it

Specified by:
processResult in interface ResultAction
Parameters:
action - The action that indicated this result should be invoked
Returns:
A Content object


Copyright © 2008. All Rights Reserved.