Polishing (aligned with main)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2022 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.
|
||||
@@ -92,11 +92,11 @@ public interface ClientCodecConfigurer extends CodecConfigurer {
|
||||
|
||||
/**
|
||||
* Configure the {@code Decoder} to use for Server-Sent Events.
|
||||
* <p>By default if this is not set, and Jackson is available, the
|
||||
* {@link #jackson2JsonDecoder} override is used instead. Use this property
|
||||
* if you want to further customize the SSE decoder.
|
||||
* <p>Note that {@link #maxInMemorySize(int)}, if configured, will be
|
||||
* applied to the given decoder.
|
||||
* <p>By default if this is not set, and Jackson is available,
|
||||
* the {@link #jackson2JsonDecoder} override is used instead.
|
||||
* Use this method to customize the SSE decoder.
|
||||
* <p>Note that {@link #maxInMemorySize(int)}, if configured,
|
||||
* will be applied to the given decoder.
|
||||
* @param decoder the decoder to use
|
||||
*/
|
||||
void serverSentEventDecoder(Decoder<?> decoder);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2022 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.
|
||||
@@ -78,7 +78,7 @@ public interface ServerCodecConfigurer extends CodecConfigurer {
|
||||
|
||||
|
||||
/**
|
||||
* {@link CodecConfigurer.DefaultCodecs} extension with extra client-side options.
|
||||
* {@link CodecConfigurer.DefaultCodecs} extension with extra server-side options.
|
||||
*/
|
||||
interface ServerDefaultCodecs extends DefaultCodecs {
|
||||
|
||||
@@ -101,9 +101,9 @@ public interface ServerCodecConfigurer extends CodecConfigurer {
|
||||
|
||||
/**
|
||||
* Configure the {@code Encoder} to use for Server-Sent Events.
|
||||
* <p>By default if this is not set, and Jackson is available, the
|
||||
* {@link #jackson2JsonEncoder} override is used instead. Use this method
|
||||
* to customize the SSE encoder.
|
||||
* <p>By default if this is not set, and Jackson is available,
|
||||
* the {@link #jackson2JsonEncoder} override is used instead.
|
||||
* Use this method to customize the SSE encoder.
|
||||
*/
|
||||
void serverSentEventEncoder(Encoder<?> encoder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user