diff options
author | 2017-02-07 12:49:22 +0300 | |
---|---|---|
committer | 2017-02-07 12:49:22 +0300 | |
commit | 428c748b25b156a973f508e82a1c53ab6b74bc2b (patch) | |
tree | 7316e60b944ec5a1727cf41872480bc23be26bf7 /juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java | |
parent | b8af9d2621a1cd94bfb24ee31e5a92d9f4e56c4e (diff) |
juick-xmpp: merge juick-xmpp-ft
Diffstat (limited to 'juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java')
-rw-r--r-- | juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java b/juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java deleted file mode 100644 index 7fac43d4..00000000 --- a/juick-xmpp-ft/src/main/java/com/juick/components/configuration/FileTransferInitializer.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.juick.components.configuration; - -import com.juick.configuration.DataConfiguration; -import org.apache.commons.lang3.CharEncoding; -import org.springframework.web.filter.CharacterEncodingFilter; -import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; - -import javax.servlet.Filter; - -/** - * Created by vt on 09/02/16. - */ -public class FileTransferInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { - - @Override - protected Class<?>[] getRootConfigClasses() { - return new Class<?>[]{FileTransferAppConfiguration.class, DataConfiguration.class}; - } - - @Override - protected Class<?>[] getServletConfigClasses() { - return new Class<?>[]{FileTransferMvcConfiguration.class}; - } - - @Override - protected String[] getServletMappings() { - return new String[]{"/"}; - } - - @Override - protected Filter[] getServletFilters() { - CharacterEncodingFilter characterEncodingFilter = new CharacterEncodingFilter(CharEncoding.UTF_8); - return new Filter[]{characterEncodingFilter}; - } - - @Override - protected String getServletName() { - return "File transfer dispantcher servlet"; - } -} |