Package com.atlassian.confluence.servlet
Class ExportWordPageServer
- java.lang.Object
-
- com.atlassian.confluence.servlet.ExportWordPageServer
-
- All Implemented Interfaces:
ServletManager
public class ExportWordPageServer extends Object implements ServletManager
Export a page as HTML which Microsoft Word will understand.This is implemented as a servlet because sitemesh did some very strange things to the response when we used an action.
-
-
Constructor Summary
Constructors Constructor Description ExportWordPageServer(BootstrapManager bootstrapManager, SettingsManager settingsManager, PageManager pageManager, PermissionManager permissionManager, Renderer viewBodyTypeAwareRenderer, Excerpter excerpter, com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, DownloadResourceManager downloadResourceManager, com.atlassian.event.api.EventPublisher eventPublisher, javax.activation.MimetypesFileTypeMap mimetypesFileTypeMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Settings
getGlobalSettings()
void
service(SpringManagedServlet springManagedServlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
servletDestroyed(SpringManagedServlet springManagedServlet)
void
servletInitialised(SpringManagedServlet springManagedServlet, javax.servlet.ServletConfig servletConfig)
-
-
-
Constructor Detail
-
ExportWordPageServer
public ExportWordPageServer(BootstrapManager bootstrapManager, SettingsManager settingsManager, PageManager pageManager, PermissionManager permissionManager, Renderer viewBodyTypeAwareRenderer, Excerpter excerpter, com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, DownloadResourceManager downloadResourceManager, com.atlassian.event.api.EventPublisher eventPublisher, javax.activation.MimetypesFileTypeMap mimetypesFileTypeMap)
-
-
Method Detail
-
getGlobalSettings
public Settings getGlobalSettings()
-
servletInitialised
public void servletInitialised(SpringManagedServlet springManagedServlet, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
- Specified by:
servletInitialised
in interfaceServletManager
- Throws:
javax.servlet.ServletException
-
servletDestroyed
public void servletDestroyed(SpringManagedServlet springManagedServlet)
- Specified by:
servletDestroyed
in interfaceServletManager
-
service
public void service(SpringManagedServlet springManagedServlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
service
in interfaceServletManager
- Throws:
javax.servlet.ServletException
IOException
-
-