com.atlassian.plugins.rest.common.security.jersey
Class CorsResourceFilterFactory
java.lang.Object
com.atlassian.plugins.rest.common.security.jersey.CorsResourceFilterFactory
- All Implemented Interfaces:
- com.sun.jersey.spi.container.ResourceFilterFactory, org.springframework.beans.factory.DisposableBean
@Provider
public class CorsResourceFilterFactory
- extends java.lang.Object
- implements com.sun.jersey.spi.container.ResourceFilterFactory, org.springframework.beans.factory.DisposableBean
Factory for the Cross-Origin Resource Sharing resource filter, triggering off CorsAllowed.
- Since:
- 2.6
|
Constructor Summary |
CorsResourceFilterFactory(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
|
|
Method Summary |
java.util.List<com.sun.jersey.spi.container.ResourceFilter> |
create(com.sun.jersey.api.model.AbstractMethod method)
|
void |
destroy()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorsResourceFilterFactory
public CorsResourceFilterFactory(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
create
public java.util.List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod method)
- Specified by:
create in interface com.sun.jersey.spi.container.ResourceFilterFactory
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2012 Atlassian. All Rights Reserved.