Created
January 8, 2015 21:09
-
-
Save abhirockzz/6f15df4c0752fc8ea70f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Provider | |
public class HeaderModifierFilter implements ContainerResponseFilter{ | |
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException{ | |
//logic here - add custom heasers to the response | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment