public class

DefaultContextPathHolder

extends Object
implements ContextPathHolder
java.lang.Object
   ↳ com.atlassian.confluence.core.DefaultContextPathHolder

Class Overview

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.

Summary

Public Constructors
DefaultContextPathHolder(BootstrapManager bootstrapManager)
Public Methods
String getContextPath()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.core.ContextPathHolder

Public Constructors

public DefaultContextPathHolder (BootstrapManager bootstrapManager)

Public Methods

public String getContextPath ()