org.jboss.resteasy.springmvc
Class ResteasyHandlerAdapter

java.lang.Object
  extended by org.jboss.resteasy.springmvc.ResteasyWebHandlerTemplate<org.springframework.web.servlet.ModelAndView>
      extended by org.jboss.resteasy.springmvc.ResteasyHandlerAdapter
All Implemented Interfaces:
org.springframework.web.servlet.HandlerAdapter

public class ResteasyHandlerAdapter
extends ResteasyWebHandlerTemplate<org.springframework.web.servlet.ModelAndView>
implements org.springframework.web.servlet.HandlerAdapter

Version:
$Revision: 1 $
Author:
Solomn Duskis

Field Summary
protected  SynchronousDispatcher dispatcher
           
 
Fields inherited from class org.jboss.resteasy.springmvc.ResteasyWebHandlerTemplate
factory
 
Constructor Summary
ResteasyHandlerAdapter(SynchronousDispatcher dispatcher)
           
 
Method Summary
protected  org.springframework.web.servlet.ModelAndView createModelAndView(ResteasyRequestWrapper requestWrapper, HttpResponse response)
           
protected  org.springframework.web.servlet.ModelAndView createModelAndView(ServerResponse serverResponse)
           
protected  org.springframework.web.servlet.View createView(ServerResponse serverResponse)
           
 long getLastModified(javax.servlet.http.HttpServletRequest request, java.lang.Object handler)
           
 org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, java.lang.Object handler)
           
protected  org.springframework.web.servlet.ModelAndView handle(ResteasyRequestWrapper requestWrapper, HttpResponse response)
           
 boolean supports(java.lang.Object handler)
           
 
Methods inherited from class org.jboss.resteasy.springmvc.ResteasyWebHandlerTemplate
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dispatcher

protected SynchronousDispatcher dispatcher
Constructor Detail

ResteasyHandlerAdapter

public ResteasyHandlerAdapter(SynchronousDispatcher dispatcher)
Method Detail

getLastModified

public long getLastModified(javax.servlet.http.HttpServletRequest request,
                            java.lang.Object handler)
Specified by:
getLastModified in interface org.springframework.web.servlet.HandlerAdapter

handle

public org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest servletRequest,
                                                           javax.servlet.http.HttpServletResponse servletResponse,
                                                           java.lang.Object handler)
                                                    throws java.lang.Exception
Specified by:
handle in interface org.springframework.web.servlet.HandlerAdapter
Throws:
java.lang.Exception

handle

protected org.springframework.web.servlet.ModelAndView handle(ResteasyRequestWrapper requestWrapper,
                                                              HttpResponse response)
                                                       throws java.io.IOException
Specified by:
handle in class ResteasyWebHandlerTemplate<org.springframework.web.servlet.ModelAndView>
Throws:
java.io.IOException

createModelAndView

protected org.springframework.web.servlet.ModelAndView createModelAndView(ResteasyRequestWrapper requestWrapper,
                                                                          HttpResponse response)

createModelAndView

protected org.springframework.web.servlet.ModelAndView createModelAndView(ServerResponse serverResponse)

createView

protected org.springframework.web.servlet.View createView(ServerResponse serverResponse)

supports

public boolean supports(java.lang.Object handler)
Specified by:
supports in interface org.springframework.web.servlet.HandlerAdapter


Copyright © 2010. All Rights Reserved.