com.atlassian.confluence.servlet
Class ExportWordPageServer

java.lang.Object
  extended by com.atlassian.confluence.servlet.ExportWordPageServer
All Implemented Interfaces:
ServletManager

public class ExportWordPageServer
extends java.lang.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
ExportWordPageServer(BootstrapManager bootstrapManager, SettingsManager settingsManager, PageManager pageManager, PermissionManager permissionManager, Renderer viewBodyTypeAwareRenderer, Excerpter excerpter, com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, DownloadResourceManager downloadResourceManager, DataSourceFactory dataSourceFactory, javax.activation.MimetypesFileTypeMap mimetypesFileTypeMap)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                            DataSourceFactory dataSourceFactory,
                            javax.activation.MimetypesFileTypeMap mimetypesFileTypeMap)
Method Detail

servletInitialised

public void servletInitialised(SpringManagedServlet springManagedServlet,
                               javax.servlet.ServletConfig servletConfig)
                        throws javax.servlet.ServletException
Specified by:
servletInitialised in interface ServletManager
Throws:
javax.servlet.ServletException

servletDestroyed

public void servletDestroyed(SpringManagedServlet springManagedServlet)
Specified by:
servletDestroyed in interface ServletManager

service

public void service(SpringManagedServlet springManagedServlet,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
service in interface ServletManager
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.