Class SessionContextInterceptor

  • All Implemented Interfaces:
    javax.ws.rs.container.ContainerRequestFilter

    @Provider
    public class SessionContextInterceptor
    extends java.lang.Object
    implements javax.ws.rs.container.ContainerRequestFilter
    Author:
    Endi S. Dewata
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(javax.ws.rs.container.ContainerRequestContext requestContext)  
      java.util.Locale getLocale​(javax.servlet.http.HttpServletRequest req)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • SessionContextInterceptor

        public SessionContextInterceptor()
    • Method Detail

      • getLocale

        public java.util.Locale getLocale​(javax.servlet.http.HttpServletRequest req)
      • filter

        public void filter​(javax.ws.rs.container.ContainerRequestContext requestContext)
                    throws java.io.IOException
        Specified by:
        filter in interface javax.ws.rs.container.ContainerRequestFilter
        Throws:
        java.io.IOException