Package org.eclipse.jgit.lfs
Interface Protocol
-
public interface ProtocolThis interface describes the network protocol used between lfs client and lfs server- Since:
- 4.11
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProtocol.ActionDescribes in a Response a single action the client can execute on a single objectstatic classProtocol.ErrorDescribes an error to be returned by the LFS batch APIstatic classProtocol.ExpiringActionAn action with an additional expiration timestampstatic classProtocol.ObjectInfoDescribes in a response all actions the LFS server offers for a single objectstatic classProtocol.ObjectSpecMetaData of an LFS object.static classProtocol.RequestA request sent to an LFS serverstatic classProtocol.ResponseA response received from an LFS server
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTENTTYPE_VND_GIT_LFS_JSONThe contenttype used in LFS requestsstatic java.lang.StringHDR_AUTHAuthorization header when auto-discovering via SSH.static java.lang.StringHDR_AUTH_SSH_PREFIXPrefix of authentication token obtained through SSH.static java.lang.StringINFO_LFS_ENDPOINTPath to the LFS info servlet.static java.lang.StringOBJECTS_LFS_ENDPOINTPath to the LFS objects servlet.static java.lang.StringOPERATION_DOWNLOADThe "download" operationstatic java.lang.StringOPERATION_UPLOADThe "upload" operation
-
Method Summary
Static Methods Modifier and Type Method Description static com.google.gson.Gsongson()
-
-
-
Field Detail
-
OPERATION_DOWNLOAD
static final java.lang.String OPERATION_DOWNLOAD
The "download" operation- See Also:
- Constant Field Values
-
OPERATION_UPLOAD
static final java.lang.String OPERATION_UPLOAD
The "upload" operation- See Also:
- Constant Field Values
-
CONTENTTYPE_VND_GIT_LFS_JSON
static final java.lang.String CONTENTTYPE_VND_GIT_LFS_JSON
The contenttype used in LFS requests- See Also:
- Constant Field Values
-
HDR_AUTH
static final java.lang.String HDR_AUTH
Authorization header when auto-discovering via SSH.- See Also:
- Constant Field Values
-
HDR_AUTH_SSH_PREFIX
static final java.lang.String HDR_AUTH_SSH_PREFIX
Prefix of authentication token obtained through SSH.- See Also:
- Constant Field Values
-
INFO_LFS_ENDPOINT
static final java.lang.String INFO_LFS_ENDPOINT
Path to the LFS info servlet.- See Also:
- Constant Field Values
-
OBJECTS_LFS_ENDPOINT
static final java.lang.String OBJECTS_LFS_ENDPOINT
Path to the LFS objects servlet.- See Also:
- Constant Field Values
-
-
Method Detail
-
gson
static com.google.gson.Gson gson()
- Returns:
- a
Gsoninstance suitable for handling thisProtocol - Since:
- 4.11
-
-