Class 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 Detail

      • ResteasyView

        public ResteasyView()
    • Method Detail

      • getContentType

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

        public List<String> getPotentialContentTypes()
      • setPotentialContentTypes

        public void setPotentialContentTypes​(List<String> potentialContentTypes)
      • render

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

        protected BuiltResponse getResponse​(Map model,
                                            javax.ws.rs.core.MediaType mt)
      • setContentType

        public void setContentType​(String contentType)