public class InternalHttpServerGlue extends Object
org.eclipse.jgit.http.server
.
Do not call.
Modifier and Type | Method and Description |
---|---|
static void |
setPeerUserAgent(ReceivePack rp,
String agent)
Apply a default user agent for a request.
|
static void |
setPeerUserAgent(UploadPack up,
String agent)
Apply a default user agent for a request.
|
public static void setPeerUserAgent(UploadPack up, String agent)
up
- current UploadPack instance.agent
- user agent string from the HTTP headers.public static void setPeerUserAgent(ReceivePack rp, String agent)
rp
- current ReceivePack instance.agent
- user agent string from the HTTP headers.Copyright © 2019 Eclipse JGit Project. All rights reserved.