Class HTTPRequestContext


  • public class HTTPRequestContext
    extends java.lang.Object
    Stores in thread local state related to the HTTP request being served by the thread.
    • Constructor Detail

      • HTTPRequestContext

        public HTTPRequestContext​(java.lang.String clientIP)
    • Method Detail

      • getCurrent

        public static HTTPRequestContext getCurrent()
                                             throws pl.edu.icm.unity.exceptions.InternalException
        Throws:
        pl.edu.icm.unity.exceptions.InternalException
      • getClientIP

        public java.lang.String getClientIP()