Package 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 Object implements org.springframework.web.servlet.View
- Version:
- $Revision: 1 $
- Author:
- Solomon Duskis
-
-
Constructor Summary
Constructors Constructor Description ResteasyView()
ResteasyView(String contentType, ResteasyDeployment deployment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
ResteasyDeployment
getDeployment()
List<String>
getPotentialContentTypes()
protected BuiltResponse
getResponse(Map model, javax.ws.rs.core.MediaType mt)
void
render(Map model, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
void
setContentType(String contentType)
void
setDeployment(ResteasyDeployment deployment)
void
setPotentialContentTypes(List<String> potentialContentTypes)
-
-
-
Constructor Detail
-
ResteasyView
public ResteasyView(String contentType, ResteasyDeployment deployment)
-
ResteasyView
public ResteasyView()
-
-
Method Detail
-
getDeployment
public ResteasyDeployment getDeployment()
-
setDeployment
public void setDeployment(ResteasyDeployment deployment)
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceorg.springframework.web.servlet.View
-
render
public void render(Map model, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse) throws Exception
- Specified by:
render
in interfaceorg.springframework.web.servlet.View
- Throws:
Exception
-
getResponse
protected BuiltResponse getResponse(Map model, javax.ws.rs.core.MediaType mt)
-
setContentType
public void setContentType(String contentType)
-
-