Example usage for org.springframework.http.server.reactive DefaultSslInfo DefaultSslInfo

List of usage examples for org.springframework.http.server.reactive DefaultSslInfo DefaultSslInfo

Introduction

In this page you can find the example usage for org.springframework.http.server.reactive DefaultSslInfo DefaultSslInfo.

Prototype

DefaultSslInfo(SSLSession session) 

Source Link

Usage

From source file:org.springframework.http.server.reactive.UndertowServerHttpRequest.java

@Nullable
@Override// w  w  w.ja va 2 s  . co m
protected SslInfo initSslInfo() {
    SSLSession session = this.exchange.getConnection().getSslSession();
    if (session != null) {
        return new DefaultSslInfo(session);
    }
    return null;
}