public class TransportBean extends AdsBaseBean
Constructor and Description |
---|
TransportBean()
Create a new TransportBean instance
|
Modifier and Type | Method and Description |
---|---|
void |
addEnabledCiphers(String... enabledCiphers) |
void |
addEnabledProtocols(String... enabledProtocols) |
List<String> |
getEnabledCiphers() |
List<String> |
getEnabledProtocols() |
boolean |
getNeedClientAuth() |
int |
getSystemPort() |
String |
getTransportAddress() |
int |
getTransportBackLog() |
String |
getTransportId() |
int |
getTransportNbThreads() |
boolean |
getWantClientAuth() |
boolean |
isTransportEnableSSL() |
void |
setEnabledCiphers(List<String> enabledCiphers) |
void |
setEnabledProtocols(List<String> enabledProtocols) |
void |
setNeedClientAuth(boolean needClientAuth) |
void |
setSystemPort(int systemPort) |
void |
setTransportAddress(String transportAddress) |
void |
setTransportBackLog(int transportBacklog)
Sets the size of the incoming requests waiting queue
|
void |
setTransportEnableSSL(boolean transportEnableSSL)
Enable or disable SSL
|
void |
setTransportId(String transportId) |
void |
setTransportNbThreads(int transportNbThreads)
Sets the number of thread to use to process incoming requests
|
void |
setWantClientAuth(boolean wantClientAuth) |
String |
toString() |
String |
toString(String tabs) |
getDescription, getDn, isDisabled, isEnabled, setDescription, setDn, setEnabled, toString, toString, toString, toString
public TransportBean()
public void setSystemPort(int systemPort)
systemPort
- the port to setpublic int getSystemPort()
public void setTransportAddress(String transportAddress)
transportAddress
- the address to setpublic String getTransportAddress()
public boolean isTransportEnableSSL()
true
id SSL is enabled for this transportpublic void setTransportEnableSSL(boolean transportEnableSSL)
transportEnableSSL
- if true
, SSL is enabled.public int getTransportNbThreads()
public void setTransportNbThreads(int transportNbThreads)
transportNbThreads
- The number of threadspublic int getTransportBackLog()
public void setTransportBackLog(int transportBacklog)
transportBacklog
- The size of waiting request queuepublic String getTransportId()
public void setTransportId(String transportId)
transportId
- the transportId to setpublic void setNeedClientAuth(boolean needClientAuth)
needClientAuth
- The flag to set when the client authentication is neededpublic boolean getNeedClientAuth()
public void setWantClientAuth(boolean wantClientAuth)
wantClientAuth
- The flag to set when the client authentication is wantedpublic boolean getWantClientAuth()
public List<String> getEnabledCiphers()
public void setEnabledCiphers(List<String> enabledCiphers)
enabledCiphers
- the enabledCiphers to setpublic void addEnabledCiphers(String... enabledCiphers)
enabledCiphers
- the enabledCiphers to addpublic List<String> getEnabledProtocols()
public void setEnabledProtocols(List<String> enabledProtocols)
enabledProtocols
- the enabledProtocols to setpublic void addEnabledProtocols(String... enabledProtocols)
enabledProtocols
- the enabledProtocols to addpublic String toString(String tabs)
toString
in class AdsBaseBean
public String toString()
toString
in class AdsBaseBean
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.