com.bstek.dorado.view.resolver
public class ViewServiceResolver extends AbstractTextualResolver
Constructor and Description |
---|
ViewServiceResolver() |
Modifier and Type | Method and Description |
---|---|
void |
addMethodInterceptor(org.aopalliance.intercept.MethodInterceptor methodInterceptor) |
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected ViewServiceInvoker |
getViewServiceInvoker() |
protected void |
outputException(JsonBuilder jsonBuilder,
java.lang.Throwable throwable) |
protected void |
processTask(java.io.Writer writer,
org.codehaus.jackson.node.ObjectNode objectNode,
DoradoContext context) |
void |
setServiceProcessors(java.util.Map<java.lang.String,ServiceProcessor> serviceProcessors)
设置包含各种服务的处理器的Map集合。其中Map的键为服务名,值为相应的处理器。
|
doHandleRequest, getCacheControl, getCharacterEncoding, getContentType, getOutputStream, getWriter, isShouldCompress, setCacheControl, setCharacterEncoding, setContentType, setShouldCompress
getRelativeRequestURI, handleRequestInternal
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public void setServiceProcessors(java.util.Map<java.lang.String,ServiceProcessor> serviceProcessors)
public void addMethodInterceptor(org.aopalliance.intercept.MethodInterceptor methodInterceptor)
protected ViewServiceInvoker getViewServiceInvoker() throws java.lang.Exception
java.lang.Exception
protected void processTask(java.io.Writer writer, org.codehaus.jackson.node.ObjectNode objectNode, DoradoContext context) throws java.lang.Exception
writer
- jsonNode
- context
- java.lang.Exception
protected void outputException(JsonBuilder jsonBuilder, java.lang.Throwable throwable)
jsonBuilder
- e
- public void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
execute
in class AbstractTextualResolver
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.