public interface Protocol
Modifier and Type | Interface and Description |
---|---|
static class |
Protocol.Action
Describes in a Response a single action the client can execute on a
single object
|
static class |
Protocol.Error
Describes an error to be returned by the LFS batch API
|
static class |
Protocol.ExpiringAction
An action with an additional expiration timestamp
|
static class |
Protocol.ObjectInfo
Describes in a response all actions the LFS server offers for a single
object
|
static class |
Protocol.ObjectSpec
MetaData of an LFS object.
|
static class |
Protocol.Request
A request sent to an LFS server
|
static class |
Protocol.Response
A response received from an LFS server
|
Modifier and Type | Field and Description |
---|---|
static String |
CONTENTTYPE_VND_GIT_LFS_JSON
The contenttype used in LFS requests
|
static String |
HDR_AUTH
Authorization header when auto-discovering via SSH.
|
static String |
HDR_AUTH_SSH_PREFIX
Prefix of authentication token obtained through SSH.
|
static String |
INFO_LFS_ENDPOINT
Path to the LFS info servlet.
|
static String |
OBJECTS_LFS_ENDPOINT
Path to the LFS objects servlet.
|
static String |
OPERATION_DOWNLOAD
The "download" operation
|
static String |
OPERATION_UPLOAD
The "upload" operation
|
Modifier and Type | Method and Description |
---|---|
static com.google.gson.Gson |
gson() |
static final String OPERATION_DOWNLOAD
static final String OPERATION_UPLOAD
static final String CONTENTTYPE_VND_GIT_LFS_JSON
static final String HDR_AUTH
static final String HDR_AUTH_SSH_PREFIX
static final String INFO_LFS_ENDPOINT
static final String OBJECTS_LFS_ENDPOINT
static com.google.gson.Gson gson()
Gson
instance suitable for handling this
Protocol
Copyright © 2019 Eclipse JGit Project. All rights reserved.