public class UserProfileActionController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
UserProfileActionController() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAccount(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deletion of the current user account.
|
org.springframework.web.servlet.ModelAndView |
imageUpload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
handles the upload process of the user image.
|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
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
public void deleteAccount(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
request
- the servlet requestresponse
- the servlet responseIOException
- in case of a IO errorpublic org.springframework.web.servlet.ModelAndView imageUpload(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
request
- the servlet requestresponse
- the servlet responseIOException
- in case sending the response failedCopyright © 2019 Communote team. All rights reserved.