net.sf.dropboxmq.workflow.adapters.http
Class HTTPAdapter

java.lang.Object
  extended by net.sf.dropboxmq.workflow.adapters.http.HTTPAdapter
All Implemented Interfaces:
EventAdapter

public class HTTPAdapter
extends Object
implements EventAdapter

Created: 20 Mar 2011

Version:
$Revision$, $Date$
Author:
Dwayne Schultz

Field Summary
static String HTTP
           
 
Constructor Summary
HTTPAdapter()
           
 
Method Summary
 void close()
           
static EventPackage convertRequest(HttpServletRequest request)
           
 EventPackage getResponseEvent()
           
 Collection<EventPackage> processResults(Node results)
           
 void renderProperties(Map<String,String> properties, String protocol, Element eventElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP

public static final String HTTP
See Also:
Constant Field Values
Constructor Detail

HTTPAdapter

public HTTPAdapter()
Method Detail

convertRequest

public static EventPackage convertRequest(HttpServletRequest request)
                                   throws IOException
Throws:
IOException

renderProperties

public void renderProperties(Map<String,String> properties,
                             String protocol,
                             Element eventElement)
Specified by:
renderProperties in interface EventAdapter

processResults

public Collection<EventPackage> processResults(Node results)
Specified by:
processResults in interface EventAdapter

close

public void close()
Specified by:
close in interface EventAdapter

getResponseEvent

public EventPackage getResponseEvent()