Class InternalHttpServerGlue


  • public class InternalHttpServerGlue
    extends java.lang.Object
    Internal API to assist org.eclipse.jgit.http.server.

    Do not call.

    Since:
    4.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setPeerUserAgent​(ReceivePack rp, java.lang.String agent)
      Apply a default user agent for a request.
      static void setPeerUserAgent​(UploadPack up, java.lang.String agent)
      Apply a default user agent for a request.
      • Methods inherited from class java.lang.Object

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

      • InternalHttpServerGlue

        private InternalHttpServerGlue()
    • Method Detail

      • setPeerUserAgent

        public static void setPeerUserAgent​(UploadPack up,
                                            java.lang.String agent)
        Apply a default user agent for a request.
        Parameters:
        up - current UploadPack instance.
        agent - user agent string from the HTTP headers.
      • setPeerUserAgent

        public static void setPeerUserAgent​(ReceivePack rp,
                                            java.lang.String agent)
        Apply a default user agent for a request.
        Parameters:
        rp - current ReceivePack instance.
        agent - user agent string from the HTTP headers.