@Deprecated public class BlogApiController extends BaseRestApiController
DEFAULT_COMMAND_NAME
Constructor and Description |
---|
BlogApiController()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
doGet(ApiResult apiResult,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Do the get on a resource
|
protected Object |
doPost(ApiResult apiResult,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Do a creation or edit of a post resource
|
protected List<BlogData> |
getBlogList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Method to get the blog list based on the blog list type parameter
|
execute
convert, getRequestUriName, handleRequestInternal
compareVersions, getBooleanParameter, getIntegerParameter, getLongParameter, getNonEmptyParameter, getResourceId, getResourceType
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommand, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, suppressValidation, useDirectFieldAccess
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
protected Object doGet(ApiResult apiResult, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws RequestedResourceNotFoundException, IllegalRequestParameterException
doGet
in class BaseRestApiController
apiResult
- The reuslt to fill.request
- the requestresponse
- the responseRequestedResourceNotFoundException
- the resource has not been foundIllegalRequestParameterException
- in case of an illegal parameterprotected Object doPost(ApiResult apiResult, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ApiException
doPost
in class BaseRestApiController
apiResult
- the apiResultrequest
- the requestresponse
- the responseApiException
- in case of an errorprotected List<BlogData> getBlogList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IllegalRequestParameterException
request
- the requestresponse
- the responseIllegalRequestParameterException
- in case of an illegal parameterCopyright © 2019 Communote team. All rights reserved.