Class TcpConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.tcp.TcpConsumerProperties
@ConfigurationProperties("tcp.consumer")
@Validated
public class TcpConsumerProperties
extends Object
Properties for the TCP Consumer.
- Author:
- Gary Russell, Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
@NotNull Encoding
@NotNull String
getHost()
boolean
isClose()
void
setCharset
(String charset) void
setClose
(boolean close) void
setEncoder
(Encoding encoder) void
-
Constructor Details
-
TcpConsumerProperties
public TcpConsumerProperties()
-
-
Method Details
-
getHost
-
setHost
-
getEncoder
-
setEncoder
-
getCharset
-
setCharset
-
isClose
public boolean isClose() -
setClose
public void setClose(boolean close)
-