From 39c7f9a3ff09b3ff7e83a39a771039ddc5d94764 Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Mon, 18 Dec 2017 10:13:35 -0800 Subject: remote: fix out-of-date documentation The action cache prefix is "ac", not "actioncache". Change-Id: I841a026133ab3b4ec5b58a0cf29252dae49434fe PiperOrigin-RevId: 179437730 --- .../build/lib/remote/blobstore/RestBlobStore.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/com/google/devtools/build/lib/remote/blobstore/RestBlobStore.java b/src/main/java/com/google/devtools/build/lib/remote/blobstore/RestBlobStore.java index 6d7b46755e..0e5515fb08 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/blobstore/RestBlobStore.java +++ b/src/main/java/com/google/devtools/build/lib/remote/blobstore/RestBlobStore.java @@ -34,19 +34,19 @@ import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; /** - * Implementation of {@link SimpleBlobStore} with a REST service. The REST service needs to - * support the following HTTP methods. + * Implementation of {@link SimpleBlobStore} with a REST service. The REST service needs to support + * the following HTTP methods. * - *

PUT /{actioncache,cas}/1234 HTTP/1.1 PUT method is used to upload a blob with a base16 key. - * In this example the key is 1234. Valid status codes are 200, 201, 202 and 204. + *

PUT /{ac,cas}/1234 HTTP/1.1 PUT method is used to upload a blob with a base16 key. In this + * example the key is 1234. Valid status codes are 200, 201, 202 and 204. * - *

GET /{actioncache,cas}/1234 HTTP/1.1 GET method fetches a blob with the specified key. In this - * example the key is 1234. A status code of 200 should be followed by the content of blob. Status - * code of 404 or 204 means the key cannot be found. + *

GET /{ac,cas}/1234 HTTP/1.1 GET method fetches a blob with the specified key. In this example + * the key is 1234. A status code of 200 should be followed by the content of blob. Status code of + * 404 or 204 means the key cannot be found. * - *

HEAD /{actioncache,cas}/1234 HTTP/1.1 HEAD method checks to see if the specified key exists in - * the blob store. A status code of 200 indicates the key is found in the blob store. A status code - * of 404 indicates the key is not found in the blob store. + *

HEAD /{ac,cas}/1234 HTTP/1.1 HEAD method checks to see if the specified key exists in the blob + * store. A status code of 200 indicates the key is found in the blob store. A status code of 404 + * indicates the key is not found in the blob store. */ public final class RestBlobStore implements SimpleBlobStore { -- cgit v1.2.3