Skip to content

Instantly share code, notes, and snippets.

@abhirockzz
Created January 8, 2015 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhirockzz/8531b52f358d9403820c to your computer and use it in GitHub Desktop.
Save abhirockzz/8531b52f358d9403820c to your computer and use it in GitHub Desktop.
@Provider
public CustomWriterInterceptor implements WriterInterceptor{
@Override
public void aroundWriteFrom(WriterInterceptorContext wic){
//use the methods from the WriterInterceptorContext
wic.proceed();
//invoke the proceed method to get things moving!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment