Package org.eclipse.jgit.lfs
Interface Protocol
public interface Protocol
This interface describes the network protocol used between lfs client and lfs
server
- Since:
- 4.11
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Describes in a Response a single action the client can execute on a single objectstatic class
Describes an error to be returned by the LFS batch APIstatic class
An action with an additional expiration timestampstatic class
Describes in a response all actions the LFS server offers for a single objectstatic class
MetaData of an LFS object.static class
A request sent to an LFS serverstatic class
A response received from an LFS server -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The contenttype used in LFS requestsstatic final String
Authorization header when auto-discovering via SSH.static final String
Prefix of authentication token obtained through SSH.static final String
Path to the LFS info servlet.static final String
Path to the LFS objects servlet.static final String
The "download" operationstatic final String
The "upload" operation -
Method Summary
Static Methods
-
Field Details
-
OPERATION_DOWNLOAD
The "download" operation- See Also:
-
OPERATION_UPLOAD
The "upload" operation- See Also:
-
CONTENTTYPE_VND_GIT_LFS_JSON
The contenttype used in LFS requests- See Also:
-
HDR_AUTH
Authorization header when auto-discovering via SSH.- See Also:
-
HDR_AUTH_SSH_PREFIX
Prefix of authentication token obtained through SSH.- See Also:
-
INFO_LFS_ENDPOINT
Path to the LFS info servlet.- See Also:
-
OBJECTS_LFS_ENDPOINT
Path to the LFS objects servlet.- See Also:
-
-
Method Details
-
gson
static com.google.gson.Gson gson()- Returns:
- a
Gson
instance suitable for handling thisProtocol
- Since:
- 4.11
-