Polish
See gh-27940
This commit is contained in:
committed by
Stephane Nicoll
parent
b8b2e56fab
commit
cf0fcafd13
@@ -17,7 +17,7 @@
|
||||
package org.springframework.boot.buildpack.platform.build;
|
||||
|
||||
/**
|
||||
* Strategy inerface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
|
||||
* Strategy interface used to resolve a {@link BuildpackReference} to a {@link Buildpack}.
|
||||
*
|
||||
* @author Scott Frederick
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.boot.buildpack.platform.io.Content;
|
||||
import org.springframework.boot.buildpack.platform.io.Owner;
|
||||
|
||||
/**
|
||||
* An short lived builder that is created for each {@link Lifecycle} run.
|
||||
* A short lived builder that is created for each {@link Lifecycle} run.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Scott Frederick
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -66,7 +66,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP GET operation.
|
||||
* Perform an HTTP GET operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
@@ -76,7 +76,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
@@ -86,7 +86,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @param registryAuth registry authentication credentials
|
||||
* @return the operation response
|
||||
@@ -97,7 +97,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -109,7 +109,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP PUT operation.
|
||||
* Perform an HTTP PUT operation.
|
||||
* @param uri the destination URI
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -121,7 +121,7 @@ abstract class HttpClientTransport implements HttpTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a HTTP DELETE operation.
|
||||
* Perform an HTTP DELETE operation.
|
||||
* @param uri the destination URI
|
||||
* @return the operation response
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -37,7 +37,7 @@ import org.springframework.boot.buildpack.platform.system.Environment;
|
||||
public interface HttpTransport {
|
||||
|
||||
/**
|
||||
* Perform a HTTP GET operation.
|
||||
* Perform an HTTP GET operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
@@ -45,7 +45,7 @@ public interface HttpTransport {
|
||||
Response get(URI uri) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
@@ -53,7 +53,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param registryAuth registry authentication credentials
|
||||
* @return the operation response
|
||||
@@ -62,7 +62,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri, String registryAuth) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP POST operation.
|
||||
* Perform an HTTP POST operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -72,7 +72,7 @@ public interface HttpTransport {
|
||||
Response post(URI uri, String contentType, IOConsumer<OutputStream> writer) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP PUT operation.
|
||||
* Perform an HTTP PUT operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @param contentType the content type to write
|
||||
* @param writer a content writer
|
||||
@@ -82,7 +82,7 @@ public interface HttpTransport {
|
||||
Response put(URI uri, String contentType, IOConsumer<OutputStream> writer) throws IOException;
|
||||
|
||||
/**
|
||||
* Perform a HTTP DELETE operation.
|
||||
* Perform an HTTP DELETE operation.
|
||||
* @param uri the destination URI (excluding any host/port)
|
||||
* @return the operation response
|
||||
* @throws IOException on IO error
|
||||
|
||||
Reference in New Issue
Block a user