com.atlassian.confluence.security.interceptors
Class NosniffSecurityHeaderInterceptor

java.lang.Object
  extended by 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

Constructor Summary
NosniffSecurityHeaderInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NosniffSecurityHeaderInterceptor

public NosniffSecurityHeaderInterceptor()
Method Detail

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.