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 classDescribes in a Response a single action the client can execute on a single objectstatic classDescribes an error to be returned by the LFS batch APIstatic classAn action with an additional expiration timestampstatic classDescribes in a response all actions the LFS server offers for a single objectstatic classMetaData of an LFS object.static classA request sent to an LFS serverstatic classA response received from an LFS server -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe contenttype used in LFS requestsstatic final StringAuthorization header when auto-discovering via SSH.static final StringPrefix of authentication token obtained through SSH.static final StringPath to the LFS info servlet.static final StringPath to the LFS objects servlet.static final StringThe "download" operationstatic final StringThe "upload" operation -
Method Summary
Static Methods
-
Field Details
-
OPERATION_DOWNLOAD
-
OPERATION_UPLOAD
-
CONTENTTYPE_VND_GIT_LFS_JSON
-
HDR_AUTH
-
HDR_AUTH_SSH_PREFIX
Prefix of authentication token obtained through SSH.- See Also:
-
INFO_LFS_ENDPOINT
-
OBJECTS_LFS_ENDPOINT
-
-
Method Details
-
gson
static com.google.gson.Gson gson()- Returns:
- a
Gsoninstance suitable for handling thisProtocol - Since:
- 4.11
-