Package org.eclipse.jgit.transport
Class InternalHttpServerGlue
java.lang.Object
org.eclipse.jgit.transport.InternalHttpServerGlue
Internal API to assist
org.eclipse.jgit.http.server.
Do not call.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetPeerUserAgent(ReceivePack rp, String agent) Apply a default user agent for a request.static voidsetPeerUserAgent(UploadPack up, String agent) Apply a default user agent for a request.
-
Constructor Details
-
InternalHttpServerGlue
private InternalHttpServerGlue()
-
-
Method Details
-
setPeerUserAgent
Apply a default user agent for a request.- Parameters:
up- current UploadPack instance.agent- user agent string from the HTTP headers.
-
setPeerUserAgent
Apply a default user agent for a request.- Parameters:
rp- current ReceivePack instance.agent- user agent string from the HTTP headers.
-