org.jboss.resteasy.springmvc
Class ResteasyView
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResteasyView
public ResteasyView(java.lang.String contentType,
SynchronousDispatcher dispatcher)
ResteasyView
public ResteasyView()
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 © 2010. All Rights Reserved.