com.clickntap.smart
Class SmartView

java.lang.Object
  extended by com.clickntap.smart.SmartView
All Implemented Interfaces:
org.springframework.web.servlet.View

public class SmartView
extends Object
implements org.springframework.web.servlet.View


Nested Class Summary
static class SmartView.Mode
           
 
Field Summary
static String CACHE_CONTROL
           
static String NO_CACHE
           
static String PRAGMA
           
 
Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
 
Constructor Summary
SmartView()
           
 
Method Summary
 String getContentType()
           
 void render(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setBinaryKey(String binaryKey)
           
 void setContentType(String contentType)
           
 void setMode(SmartView.Mode mode)
           
 void setViewEngine(ScriptEngine viewEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_CONTROL

public static final String CACHE_CONTROL
See Also:
Constant Field Values

PRAGMA

public static final String PRAGMA
See Also:
Constant Field Values

NO_CACHE

public static final String NO_CACHE
See Also:
Constant Field Values
Constructor Detail

SmartView

public SmartView()
Method Detail

setContentType

public void setContentType(String contentType)

setMode

public void setMode(SmartView.Mode mode)

setBinaryKey

public void setBinaryKey(String binaryKey)

render

public void render(Map model,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws Exception
Specified by:
render in interface org.springframework.web.servlet.View
Throws:
Exception

setViewEngine

public void setViewEngine(ScriptEngine viewEngine)

getContentType

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


Copyright © 2014. All rights reserved.