com.atlassian.confluence.security.interceptors
Class NosniffSecurityHeaderInterceptor
java.lang.Object
com.atlassian.confluence.security.interceptors.NosniffSecurityHeaderInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor
public class NosniffSecurityHeaderInterceptor
- extends Object
- implements com.opensymphony.xwork.interceptor.Interceptor
Prevents browser from MIME-sniffing a response away from the declared content-type.
- Since:
- 5.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NosniffSecurityHeaderInterceptor
public NosniffSecurityHeaderInterceptor()
intercept
public String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
throws Exception
- Specified by:
intercept
in interface com.opensymphony.xwork.interceptor.Interceptor
- Throws:
Exception
init
public void init()
- Specified by:
init
in interface com.opensymphony.xwork.interceptor.Interceptor
destroy
public void destroy()
- Specified by:
destroy
in interface com.opensymphony.xwork.interceptor.Interceptor
Copyright © 2003–2015 Atlassian. All rights reserved.