Polishing.
Reformat code. Enhance JavaDoc.
This commit is contained in:
@@ -97,6 +97,9 @@ public class AwsEc2AuthenticationOptions {
|
||||
return role;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builder for {@link AwsEc2AuthenticationOptionsBuilder}.
|
||||
*/
|
||||
public static class AwsEc2AuthenticationOptionsBuilder {
|
||||
|
||||
private String path = DEFAULT_AWS_AUTHENTICATION_PATH;
|
||||
|
||||
@@ -181,8 +181,7 @@ public class VaultClient extends VaultAccessor {
|
||||
|
||||
/**
|
||||
* Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the
|
||||
* response as {@link VaultResponseEntity}.
|
||||
* URI Template variables are using the given URI variables, if any.
|
||||
* response as {@link VaultResponseEntity}. URI Template variables are using the given URI variables, if any.
|
||||
*
|
||||
* @param pathTemplate the path template.
|
||||
* @param method the HTTP method (GET, POST, etc).
|
||||
@@ -281,6 +280,7 @@ public class VaultClient extends VaultAccessor {
|
||||
|
||||
/**
|
||||
* Unwrap a wrapped response created by Vault Response Wrapping
|
||||
*
|
||||
* @param wrappedResponse the wrapped response , must not be empty or {@literal null}.
|
||||
* @param responseType the type of the return value.
|
||||
* @return the unwrapped response.
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
package org.springframework.vault.core;
|
||||
|
||||
import org.springframework.vault.support.VaultTransitKeyConfiguration;
|
||||
import org.springframework.vault.support.VaultTransitKey;
|
||||
import org.springframework.vault.support.VaultTransitKeyConfiguration;
|
||||
import org.springframework.vault.support.VaultTransitKeyCreationRequest;
|
||||
import org.springframework.vault.support.VaultTransitRequest;
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ import java.util.Map;
|
||||
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.Base64Utils;
|
||||
import org.springframework.vault.support.VaultTransitKeyConfiguration;
|
||||
import org.springframework.vault.support.VaultResponseSupport;
|
||||
import org.springframework.vault.support.VaultTransitKey;
|
||||
import org.springframework.vault.support.VaultTransitKeyConfiguration;
|
||||
import org.springframework.vault.support.VaultTransitKeyCreationRequest;
|
||||
import org.springframework.vault.support.VaultTransitRequest;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Vault core support.
|
||||
*/
|
||||
package org.springframework.vault.core;
|
||||
package org.springframework.vault.core;
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
* Spring support for <a href="https://vaultproject.io">Hashicorp Vault</a>.
|
||||
*/
|
||||
package org.springframework.vault;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user