public final class LsRefsV2Request extends Object
 This is used as an input to ProtocolV2Hook.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
LsRefsV2Request.Builder
A builder for  
LsRefsV2Request. | 
| Modifier and Type | Method and Description | 
|---|---|
static LsRefsV2Request.Builder | 
builder()  | 
String | 
getAgent()  | 
boolean | 
getPeel()  | 
List<String> | 
getRefPrefixes()  | 
List<String> | 
getServerOptions()
Get application-specific options provided by the client using
 --server-option. 
 | 
boolean | 
getSymrefs()  | 
public List<String> getRefPrefixes()
public boolean getSymrefs()
public boolean getPeel()
@NonNull public List<String> getServerOptions()
It returns just the content, without the "server-option=" prefix. E.g. a request with server-option=A and server-option=B lines returns the list [A, B].
public static LsRefsV2Request.Builder builder()
LsRefsV2Request.Copyright © 2021 Eclipse JGit Project. All rights reserved.