Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -537,14 +537,14 @@ public enum HttpVersion {
* @configurationType {@link ConfigurationProperties.HttpVersion}
* @configurationDefaultValue {@link #DEFAULT_HTTP_VERSION}
* @configurationRepoIdSuffix Yes
* @since NEXT
* @since 2.0.21
*/
public static final String HTTP_VERSION = PREFIX_TRANSPORT_HTTP + "version";

/**
* Default value if {@link #HTTP_VERSION} is not set.
*
* @since NEXT
* @since 2.0.21
*/
public static final HttpVersion DEFAULT_HTTP_VERSION = HttpVersion.DEFAULT;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* These keys can be used to expose additional information about the HTTP transport operation.
* Additionally it defines types for the values of these keys, such as {@link HttpVersion} and {@link SslProtocol}.
* @see TransferEvent#getTransportProperties()
* @since NEXT
* @since 2.0.21
*/
public final class HttpTransportProperty {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public Exception getException() {
* <li>{@link EventType#SUCCEEDED}</li>
* </ul>
* @return The immutable transport properties associated with this transfer, may be empty.
* @since NEXT
* @since 2.0.21
* @see HttpTransportProperty.Key HttpTransportProperty.Key for HTTP specific keys
*/
public Map<TransportPropertyKey, Object> getTransportProperties() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* <p>
* This class also "bridges" between {@link DependencyScope} and Resolver that uses plain string labels for scopes.
*
* @since 4.0.0
* @since 2.0.0-alpha-9
*/
public final class ManagedScopeDeriver extends ScopeDeriver {
private final InternalScopeManager scopeManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void transportProgressed(ByteBuffer data) throws TransferCancelledExcepti
* </ul>
* @param transportProperties The transport properties associated with this transfer, may be empty. The keys are transporter specific and the value types are key specific.
* @throws TransferCancelledException If the transfer should be aborted.
* @since NEXT
* @since 2.0.21
*/
public void transportPropertiesAvailable(Map<TransferEvent.TransportPropertyKey, Object> transportProperties)
throws TransferCancelledException {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/**
* Builder for HTTP transport properties used in {@link TransportListener#transportPropertiesAvailable(Map)}.
* @since NEXT
* @since 2.0.21
*/
public final class HttpTransportPropertiesBuilder {
private final Map<TransferEvent.TransportPropertyKey, Object> properties = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public static List<?> getList(RepositorySystemSession session, List<?> defaultVa
* @param keys the property keys to read, must not be {@code null}. The specified keys are read one after one until
* a enum type {@code T} or a string (parsed using {@link Enum#valueOf(Class, String)} is found.
* @return the property value or {@code defaultValue} if none found
* @since NEXT
* @since 2.0.21
*/
public static <T extends Enum<T>> T getEnum(
Map<?, ?> properties, Class<T> enumClass, T defaultValue, String... keys) {
Expand All @@ -381,7 +381,7 @@ public static <T extends Enum<T>> T getEnum(
* @param keys the property keys to read, must not be {@code null}. The specified keys are read one after one until
* a enum type {@code T} or a string (parsed using {@link Enum#valueOf(Class, String)} is found.
* @return the property value or {@code defaultValue} if none found
* @since NEXT
* @since 2.0.21
*/
public static <T extends Enum<T>> T getEnum(
RepositorySystemSession session, Class<T> enumClass, T defaultValue, String... keys) {
Expand Down
Loading