Package ubic.gemma.web.view
Class JSONView
- java.lang.Object
-
- ubic.gemma.web.view.JSONView
-
-
Field Summary
-
Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
void
render(Map<String,?> map, javax.servlet.http.HttpServletRequest reqest, javax.servlet.http.HttpServletResponse response)
-
-
-
Constructor Detail
-
JSONView
public JSONView()
-
JSONView
public JSONView(String docType)
- Parameters:
docType
- e.g., text/html to switch from the default 'text/plain'.
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceView
-
-