Class DefaultContextPathHolder

  extended by com.atlassian.confluence.core.DefaultContextPathHolder
All Implemented Interfaces:

public class DefaultContextPathHolder
extends Object
implements ContextPathHolder

Serves the context path stored/managed by the BootstrapManager (this value is kept up to date with every request that comes into the server). This is preferred over HttpContext as clients that use this will not require a request and secondly, the context path, being a static property, should not need to be resolved per request.

Constructor Summary
DefaultContextPathHolder(BootstrapManager bootstrapManager)
Method Summary
 String getContextPath()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DefaultContextPathHolder(BootstrapManager bootstrapManager)
Method Detail


public String getContextPath()

Specified by:
getContextPath in interface ContextPathHolder
the servlet context path

Copyright © 2003-2013 Atlassian. All Rights Reserved.