EAF 7.4 Implementation

com.lutris.appserver.server
Class ResponsePostProcessingManager

java.lang.Object
  extended by com.lutris.appserver.server.ResponsePostProcessingManager

public class ResponsePostProcessingManager
extends java.lang.Object

Author:
Slobodan Vujasinovic

Field Summary
static java.lang.String CONFIG_PREFIX
          ResponsePostProcessingManager configuration prefix
 
Constructor Summary
ResponsePostProcessingManager(com.lutris.util.Config config, com.lutris.logging.LogChannel logChannel)
          Initialize post-processing manager according to application configuration!
 
Method Summary
 boolean addPostProcessor(int position, org.enhydra.util.ResponsePostProcessor rPP)
           
 java.lang.String getOutputMimeType()
           
 java.util.Vector getPostProcessors()
           
 byte[] manage(byte[] byteArray, java.lang.String mimeEncoding, java.lang.String mimeType)
          Manages response preprocessing.
 org.w3c.dom.Node manage(org.enhydra.xml.io.OutputOptions oo, org.w3c.dom.Node document)
          Manages response preprocessing.
 boolean removePostProcessor(int position)
           
 boolean removePostProcessor(org.enhydra.util.ResponsePostProcessor rPP)
           
 boolean removePostProcessor(java.lang.String ppName)
           
 void setPostProcessors(java.util.Vector postProcessors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_PREFIX

public static final java.lang.String CONFIG_PREFIX
ResponsePostProcessingManager configuration prefix

See Also:
Constant Field Values
Constructor Detail

ResponsePostProcessingManager

public ResponsePostProcessingManager(com.lutris.util.Config config,
                                     com.lutris.logging.LogChannel logChannel)
Initialize post-processing manager according to application configuration!

Parameters:
config -
Method Detail

manage

public org.w3c.dom.Node manage(org.enhydra.xml.io.OutputOptions oo,
                               org.w3c.dom.Node document)
Manages response preprocessing.

Parameters:
props -
document -

manage

public byte[] manage(byte[] byteArray,
                     java.lang.String mimeEncoding,
                     java.lang.String mimeType)
Manages response preprocessing.

Parameters:
props -
byteArray -

addPostProcessor

public boolean addPostProcessor(int position,
                                org.enhydra.util.ResponsePostProcessor rPP)

removePostProcessor

public boolean removePostProcessor(int position)

removePostProcessor

public boolean removePostProcessor(org.enhydra.util.ResponsePostProcessor rPP)

removePostProcessor

public boolean removePostProcessor(java.lang.String ppName)

getOutputMimeType

public java.lang.String getOutputMimeType()

getPostProcessors

public java.util.Vector getPostProcessors()

setPostProcessors

public void setPostProcessors(java.util.Vector postProcessors)

EAF 7.4 Implementation