@ -98,6 +98,10 @@ public class Configuration {
private List < Interceptor > disconnectInterceptors = Collections . emptyList ( ) ;
private List < Interceptor > disconnectInterceptors = Collections . emptyList ( ) ;
private List < EventInterceptor > eventInterceptors = Collections . emptyList ( ) ;
private List < EventInterceptor > eventInterceptors = Collections . emptyList ( ) ;
private String [ ] nettyProtocols = new String [ ] { } ;
private String [ ] nettyCiphers = new String [ ] { } ;
public Configuration ( ) {
public Configuration ( ) {
}
}
@ -169,6 +173,9 @@ public class Configuration {
setConnectInterceptors ( conf . getConnectInterceptors ( ) . toArray ( new Interceptor [ 0 ] ) ) ;
setConnectInterceptors ( conf . getConnectInterceptors ( ) . toArray ( new Interceptor [ 0 ] ) ) ;
setDisconnectInterceptors ( conf . getDisconnectInterceptors ( ) . toArray ( new Interceptor [ 0 ] ) ) ;
setDisconnectInterceptors ( conf . getDisconnectInterceptors ( ) . toArray ( new Interceptor [ 0 ] ) ) ;
setEventInterceptors ( conf . getEventInterceptors ( ) . toArray ( new EventInterceptor [ 0 ] ) ) ;
setEventInterceptors ( conf . getEventInterceptors ( ) . toArray ( new EventInterceptor [ 0 ] ) ) ;
setNettyProtocols ( conf . getNettyProtocols ( ) ) ;
setNettyCiphers ( conf . getNettyCiphers ( ) ) ;
}
}
public JsonSupport getJsonSupport ( ) {
public JsonSupport getJsonSupport ( ) {
@ -630,4 +637,20 @@ public class Configuration {
public void setEventInterceptors ( EventInterceptor [ ] eventInterceptors ) {
public void setEventInterceptors ( EventInterceptor [ ] eventInterceptors ) {
this . eventInterceptors = Arrays . asList ( eventInterceptors ) ;
this . eventInterceptors = Arrays . asList ( eventInterceptors ) ;
}
}
public String [ ] getNettyProtocols ( ) {
return nettyProtocols ;
}
public void setNettyProtocols ( String [ ] nettyProtocols ) {
this . nettyProtocols = nettyProtocols ;
}
public String [ ] getNettyCiphers ( ) {
return nettyCiphers ;
}
public void setNettyCiphers ( String [ ] nettyCiphers ) {
this . nettyCiphers = nettyCiphers ;
}
}
}