Class JSONView
java.lang.Object
ubic.gemma.web.controller.util.view.JSONView
- All Implemented Interfaces:
org.springframework.web.servlet.View
- Author:
- paul
-
Field Summary
Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JSONView
public JSONView() -
JSONView
- Parameters:
docType
- e.g., text/html to switch from the default 'text/plain'.
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in interfaceorg.springframework.web.servlet.View
-
render
public void render(Map<String, ?> map, javax.servlet.http.HttpServletRequest reqest, javax.servlet.http.HttpServletResponse response) throws Exception- Specified by:
render
in interfaceorg.springframework.web.servlet.View
- Throws:
Exception
-