org.jboss.resteasy.springmvc
Class ResteasyView

java.lang.Object
  extended by org.jboss.resteasy.springmvc.ResteasyView
All Implemented Interfaces:
org.springframework.web.servlet.View

public class ResteasyView
extends java.lang.Object
implements org.springframework.web.servlet.View

Version:
$Revision: 1 $
Author:
Solomon Duskis

Constructor Summary
ResteasyView()
           
ResteasyView(java.lang.String contentType, SynchronousDispatcher dispatcher)
           
 
Method Summary
 java.lang.String getContentType()
           
 SynchronousDispatcher getDispatcher()
           
 java.util.List<java.lang.String> getPotentialContentTypes()
           
protected  ServerResponse getResponse(java.util.Map model, MediaType mt)
           
 void render(java.util.Map model, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
           
 void setContentType(java.lang.String contentType)
           
 void setDispatcher(SynchronousDispatcher dispatcher)
           
 void setPotentialContentTypes(java.util.List<java.lang.String> potentialContentTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResteasyView

public ResteasyView(java.lang.String contentType,
                    SynchronousDispatcher dispatcher)

ResteasyView

public ResteasyView()
Method Detail

getDispatcher

public SynchronousDispatcher getDispatcher()

setDispatcher

public void setDispatcher(SynchronousDispatcher dispatcher)

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface org.springframework.web.servlet.View

getPotentialContentTypes

public java.util.List<java.lang.String> getPotentialContentTypes()

setPotentialContentTypes

public void setPotentialContentTypes(java.util.List<java.lang.String> potentialContentTypes)

render

public void render(java.util.Map model,
                   javax.servlet.http.HttpServletRequest servletRequest,
                   javax.servlet.http.HttpServletResponse servletResponse)
            throws java.lang.Exception
Specified by:
render in interface org.springframework.web.servlet.View
Throws:
java.lang.Exception

getResponse

protected ServerResponse getResponse(java.util.Map model,
                                     MediaType mt)

setContentType

public void setContentType(java.lang.String contentType)


Copyright © 2009. All Rights Reserved.