Class AccessLogUtil


  • public class AccessLogUtil
    extends java.lang.Object
    Author:
    bakksjo
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessLogUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getHttpMethod​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      static java.lang.String getHttpVersion​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      static java.lang.String getReferrerHeader​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      static java.net.InetSocketAddress getRemoteAddress​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      static java.net.URI getUri​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      static java.lang.String getUserAgentHeader​(com.yahoo.jdisc.http.HttpRequest httpRequest)  
      • Methods inherited from class java.lang.Object

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

      • AccessLogUtil

        public AccessLogUtil()
    • Method Detail

      • getHttpMethod

        public static java.lang.String getHttpMethod​(com.yahoo.jdisc.http.HttpRequest httpRequest)
      • getUri

        public static java.net.URI getUri​(com.yahoo.jdisc.http.HttpRequest httpRequest)
      • getHttpVersion

        public static java.lang.String getHttpVersion​(com.yahoo.jdisc.http.HttpRequest httpRequest)
      • getReferrerHeader

        public static java.lang.String getReferrerHeader​(com.yahoo.jdisc.http.HttpRequest httpRequest)
      • getUserAgentHeader

        public static java.lang.String getUserAgentHeader​(com.yahoo.jdisc.http.HttpRequest httpRequest)
      • getRemoteAddress

        public static java.net.InetSocketAddress getRemoteAddress​(com.yahoo.jdisc.http.HttpRequest httpRequest)