@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Component
public @interface GrpcCodec
Codec
.Modifier and Type | Optional Element and Description |
---|---|
boolean |
advertised
Advertised codecs will be listed in the
Accept-Encoding header. |
CodecType |
codecType
Gets the type of codec the annotated bean should be used for.
|
public abstract boolean advertised
Accept-Encoding
header. Defaults to false.public abstract CodecType codecType