| Modifier and Type | Class and Description |
|---|---|
| public static class | Protocol.
Describes in a Response a single action the client can execute on a single object |
| public static class | Protocol.
Describes an error to be returned by the LFS batch API |
| public static class | Protocol.
An action with an additional expiration timestamp |
| public static class | Protocol.
Describes in a response all actions the LFS server offers for a single object |
| public static class | Protocol.
MetaData of an LFS object. |
| public static class | Protocol.
A request sent to an LFS server |
| public static class | Protocol.
A response received from an LFS server |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CONTENTTYPE_VND_GIT_LFS_JSON
The contenttype used in LFS requests |
| public static final String | HDR_AUTH
Authorization header when auto-discovering via SSH. |
| public static final String | HDR_AUTH_SSH_PREFIX
Prefix of authentication token obtained through SSH. |
| public static final String | INFO_LFS_ENDPOINT
Path to the LFS info servlet. |
| public static final String | OBJECTS_LFS_ENDPOINT
Path to the LFS objects servlet. |
| public static final String | OPERATION_DOWNLOAD
The "download" operation |
| public static final String | OPERATION_UPLOAD
The "upload" operation |
| Modifier and Type | Method and Description |
|---|---|
| public static Gson |
| CONTENTTYPE_VND_GIT_LFS_JSON | back to summary |
|---|---|
| public static final String CONTENTTYPE_VND_GIT_LFS_JSON The contenttype used in LFS requests | |
| HDR_AUTH | back to summary |
|---|---|
| public static final String HDR_AUTH Authorization header when auto-discovering via SSH. | |
| HDR_AUTH_SSH_PREFIX | back to summary |
|---|---|
| public static final String HDR_AUTH_SSH_PREFIX Prefix of authentication token obtained through SSH. | |
| INFO_LFS_ENDPOINT | back to summary |
|---|---|
| public static final String INFO_LFS_ENDPOINT Path to the LFS info servlet. | |
| OBJECTS_LFS_ENDPOINT | back to summary |
|---|---|
| public static final String OBJECTS_LFS_ENDPOINT Path to the LFS objects servlet. | |
| OPERATION_DOWNLOAD | back to summary |
|---|---|
| public static final String OPERATION_DOWNLOAD The "download" operation | |
| OPERATION_UPLOAD | back to summary |
|---|---|
| public static final String OPERATION_UPLOAD The "upload" operation | |
| gson | back to summary |
|---|---|
| public static Gson gson() Gson instance for handling this protocol | |
| Access | Constructor and Description |
|---|---|
| public |
| header | back to summary |
|---|---|
| public Map<String, String> header | |
| href | back to summary |
|---|---|
| public String href | |
| Action | back to summary |
|---|---|
| public Action() | |
| Access | Constructor and Description |
|---|---|
| public |
| Error | back to summary |
|---|---|
| public Error() | |
| Modifier and Type | Field and Description |
|---|---|
| public String | expiresAt
Absolute date/time in format "yyyy-MM-dd'T'HH:mm:ss.SSSX" |
| public String | expiresIn
Validity time in milliseconds (preferred over expiresAt as specified: https://github.com/git-lfs/git-lfs/blob/master/docs/api/authentication.md) |
| Access | Constructor and Description |
|---|---|
| public |
| expiresAt | back to summary |
|---|---|
| public String expiresAt Absolute date/time in format "yyyy-MM-dd'T'HH:mm:ss.SSSX" | |
| expiresIn | back to summary |
|---|---|
| public String expiresIn Validity time in milliseconds (preferred over expiresAt as specified: https://github.com/git-lfs/git-lfs/blob/master/docs/api/authentication.md) | |
| ExpiringAction | back to summary |
|---|---|
| public ExpiringAction() | |
| Modifier and Type | Field and Description |
|---|---|
| public Map | |
| public Protocol. |
| Access | Constructor and Description |
|---|---|
| public |
| actions | back to summary |
|---|---|
| public Map<String, Protocol. | |
| error | back to summary |
|---|---|
| public Protocol. | |
| ObjectInfo | back to summary |
|---|---|
| public ObjectInfo() | |
| Access | Constructor and Description |
|---|---|
| public |
| ObjectSpec | back to summary |
|---|---|
| public ObjectSpec() | |
| Modifier and Type | Field and Description |
|---|---|
| public List | objects
The objects of this request |
| public String | operation
The operation of this request |
| Access | Constructor and Description |
|---|---|
| public |
| objects | back to summary |
|---|---|
| public List<Protocol. The objects of this request | |
| operation | back to summary |
|---|---|
| public String operation The operation of this request | |
| Request | back to summary |
|---|---|
| public Request() | |
| Modifier and Type | Field and Description |
|---|---|
| public List |
| Access | Constructor and Description |
|---|---|
| public |
| objects | back to summary |
|---|---|
| public List<Protocol. | |
| Response | back to summary |
|---|---|
| public Response() | |