PluginServletContextWrapper

Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2013

Hi,

The documentation says com.atlassian.plugin.servlet.PluginServletContextWrapper:

A wrapper around servlet context that allows plugin servlets to add attributes which will not be shared/clobbered by other plugins.

How can a PluginServletConextWrapper instance be retrieved (or set such attributes) from a plug-in?

Thanks!

Pablo

1 answer

0 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2013

I didn't checked it, but in a plugin servlet if you get the servlet context, if should be an instance of this class (all are wrapped, including request / response to achieve isolation between plugins)

If I remember well, the http layer is specified here: com.atlassian.plugin.servlet (or something, look for a class named DefaultServletModuleManager).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events