org.springframework.batch.admin.web
Class ViewHandler

java.lang.Object
  extended by org.springframework.batch.admin.web.ViewHandler
All Implemented Interfaces:
HttpRequestHandler

public class ViewHandler
extends Object
implements HttpRequestHandler

Trivial HTTP request handler that just renders a view. Useful as an entry point to present a form for sending data to an HTTP inbound endpoint.

Author:
Dave Syer

Constructor Summary
ViewHandler()
           
 
Method Summary
 void handleRequest(HttpServletRequest request, HttpServletResponse response)
           
 void setView(View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewHandler

public ViewHandler()
Method Detail

setView

public void setView(View view)

handleRequest

public void handleRequest(HttpServletRequest request,
                          HttpServletResponse response)
                   throws ServletException,
                          IOException
Specified by:
handleRequest in interface HttpRequestHandler
Throws:
ServletException
IOException


Copyright © 2011. All Rights Reserved.