Fix broken Javadoc links
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2020 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,31 +37,37 @@ import org.springframework.lang.Nullable;
|
||||
* @since 5.0
|
||||
* @see JsonFormat#parser()
|
||||
* @see JsonFormat#printer()
|
||||
* @see #ProtobufJsonFormatHttpMessageConverter(JsonFormat.Parser, JsonFormat.Printer)
|
||||
* @see #ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser, com.google.protobuf.util.JsonFormat.Printer)
|
||||
*/
|
||||
public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageConverter {
|
||||
|
||||
/**
|
||||
* Constructor with default instances of {@link JsonFormat.Parser},
|
||||
* {@link JsonFormat.Printer}, and {@link ExtensionRegistry}.
|
||||
* Constructor with default instances of
|
||||
* {@link com.google.protobuf.util.JsonFormat.Parser JsonFormat.Parser},
|
||||
* {@link com.google.protobuf.util.JsonFormat.Printer JsonFormat.Printer},
|
||||
* and {@link ExtensionRegistry}.
|
||||
*/
|
||||
public ProtobufJsonFormatHttpMessageConverter() {
|
||||
this(null, null, (ExtensionRegistry)null);
|
||||
this(null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor with given instances of {@link JsonFormat.Parser},
|
||||
* {@link JsonFormat.Printer}, and a default instance of {@link ExtensionRegistry}.
|
||||
* Constructor with given instances of
|
||||
* {@link com.google.protobuf.util.JsonFormat.Parser JsonFormat.Parser},
|
||||
* {@link com.google.protobuf.util.JsonFormat.Printer JsonFormat.Printer},
|
||||
* and a default instance of {@link ExtensionRegistry}.
|
||||
*/
|
||||
public ProtobufJsonFormatHttpMessageConverter(
|
||||
@Nullable JsonFormat.Parser parser, @Nullable JsonFormat.Printer printer) {
|
||||
|
||||
this(parser, printer, (ExtensionRegistry)null);
|
||||
this(parser, printer, (ExtensionRegistry) null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor with given instances of {@link JsonFormat.Parser},
|
||||
* {@link JsonFormat.Printer}, and {@link ExtensionRegistry}.
|
||||
* Constructor with given instances of
|
||||
* {@link com.google.protobuf.util.JsonFormat.Parser JsonFormat.Parser},
|
||||
* {@link com.google.protobuf.util.JsonFormat.Printer JsonFormat.Printer},
|
||||
* and {@link ExtensionRegistry}.
|
||||
*/
|
||||
public ProtobufJsonFormatHttpMessageConverter(@Nullable JsonFormat.Parser parser,
|
||||
@Nullable JsonFormat.Printer printer, @Nullable ExtensionRegistry extensionRegistry) {
|
||||
@@ -77,7 +83,7 @@ public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageC
|
||||
* @param printer the JSON printer configuration
|
||||
* @param registryInitializer an initializer for message extensions
|
||||
* @deprecated as of 5.1, in favor of
|
||||
* {@link #ProtobufJsonFormatHttpMessageConverter(JsonFormat.Parser, JsonFormat.Printer, ExtensionRegistry)}
|
||||
* {@link #ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser, com.google.protobuf.util.JsonFormat.Printer, ExtensionRegistry)}
|
||||
*/
|
||||
@Deprecated
|
||||
public ProtobufJsonFormatHttpMessageConverter(@Nullable JsonFormat.Parser parser,
|
||||
|
||||
Reference in New Issue
Block a user