org.directwebremoting.servlet
Class HtmlCallHandler

java.lang.Object
  extended by org.directwebremoting.servlet.HtmlCallHandler
All Implemented Interfaces:
Handler

public class HtmlCallHandler
extends java.lang.Object
implements Handler

A Handler standard DWR calls whose replies are HTML wrapped.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Field Summary
protected  HtmlCallMarshaller htmlCallMarshaller
          The 'Plain Javascript' method by which objects are marshalled
protected  Remoter remoter
          The bean to execute remote requests and generate interfaces
 
Constructor Summary
HtmlCallHandler()
           
 
Method Summary
 void handle(HttpServletRequest request, HttpServletResponse response)
          Handle a URL request that has been mapped to this Handler
 void setHtmlCallMarshaller(HtmlCallMarshaller marshaller)
          Setter for the HTML Javascript Marshaller
 void setRemoter(Remoter remoter)
          Setter for the remoter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

htmlCallMarshaller

protected HtmlCallMarshaller htmlCallMarshaller
The 'Plain Javascript' method by which objects are marshalled


remoter

protected Remoter remoter
The bean to execute remote requests and generate interfaces

Constructor Detail

HtmlCallHandler

public HtmlCallHandler()
Method Detail

handle

public void handle(HttpServletRequest request,
                   HttpServletResponse response)
            throws java.io.IOException
Description copied from interface: Handler
Handle a URL request that has been mapped to this Handler

Specified by:
handle in interface Handler
Parameters:
request - The HTTP request data
response - Where we write the HTTP response data
Throws:
java.io.IOException - If the write process fails

setHtmlCallMarshaller

public void setHtmlCallMarshaller(HtmlCallMarshaller marshaller)
Setter for the HTML Javascript Marshaller

Parameters:
marshaller - The new marshaller

setRemoter

public void setRemoter(Remoter remoter)
Setter for the remoter

Parameters:
remoter -