org.springframework.http.server.reactive.SslInfo Java Examples
The following examples show how to use
org.springframework.http.server.reactive.SslInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MockServerHttpRequest.java From spring-analysis-note with MIT License | 5 votes |
private MockServerHttpRequest(HttpMethod httpMethod, URI uri, @Nullable String contextPath, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, @Nullable InetSocketAddress remoteAddress, @Nullable SslInfo sslInfo, Publisher<? extends DataBuffer> body) { super(uri, contextPath, headers); this.httpMethod = httpMethod; this.cookies = cookies; this.remoteAddress = remoteAddress; this.sslInfo = sslInfo; this.body = Flux.from(body); }
Example #2
Source File: MockServerHttpRequest.java From spring-analysis-note with MIT License | 5 votes |
private MockServerHttpRequest(HttpMethod httpMethod, URI uri, @Nullable String contextPath, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, @Nullable InetSocketAddress remoteAddress, @Nullable SslInfo sslInfo, Publisher<? extends DataBuffer> body) { super(uri, contextPath, headers); this.httpMethod = httpMethod; this.cookies = cookies; this.remoteAddress = remoteAddress; this.sslInfo = sslInfo; this.body = Flux.from(body); }
Example #3
Source File: MockServerHttpRequest.java From java-technology-stack with MIT License | 5 votes |
private MockServerHttpRequest(HttpMethod httpMethod, URI uri, @Nullable String contextPath, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, @Nullable InetSocketAddress remoteAddress, @Nullable SslInfo sslInfo, Publisher<? extends DataBuffer> body) { super(uri, contextPath, headers); this.httpMethod = httpMethod; this.cookies = cookies; this.remoteAddress = remoteAddress; this.sslInfo = sslInfo; this.body = Flux.from(body); }
Example #4
Source File: MockServerHttpRequest.java From java-technology-stack with MIT License | 5 votes |
private MockServerHttpRequest(HttpMethod httpMethod, URI uri, @Nullable String contextPath, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, @Nullable InetSocketAddress remoteAddress, @Nullable SslInfo sslInfo, Publisher<? extends DataBuffer> body) { super(uri, contextPath, headers); this.httpMethod = httpMethod; this.cookies = cookies; this.remoteAddress = remoteAddress; this.sslInfo = sslInfo; this.body = Flux.from(body); }
Example #5
Source File: VertxServerHttpRequest.java From vertx-spring-boot with Apache License 2.0 | 5 votes |
@Override protected SslInfo initSslInfo() { if (delegate.sslSession() == null) { return null; } return new SslInfoImpl(delegate.sslSession()); }
Example #6
Source File: MicronautServerHttpRequest.java From micronaut-spring with Apache License 2.0 | 5 votes |
@Override protected SslInfo initSslInfo() { final Optional<Channel> channel = channelResolver.resolveChannel(request); if (channel.isPresent()) { SslHandler sslHandler = channel.get().pipeline().get(SslHandler.class); if (sslHandler != null) { SSLSession session = sslHandler.engine().getSession(); return new DefaultSslInfo(session); } } return null; }
Example #7
Source File: ArmeriaServerHttpRequest.java From armeria with Apache License 2.0 | 5 votes |
@Nullable @Override protected SslInfo initSslInfo() { final SSLSession session = ctx.sslSession(); return session != null ? new DefaultSslInfo(session) : null; }
Example #8
Source File: MockServerHttpRequest.java From spring-analysis-note with MIT License | 4 votes |
@Nullable @Override protected SslInfo initSslInfo() { return this.sslInfo; }
Example #9
Source File: MockServerHttpRequest.java From spring-analysis-note with MIT License | 4 votes |
@Nullable @Override protected SslInfo initSslInfo() { return this.sslInfo; }
Example #10
Source File: MockServerHttpRequest.java From java-technology-stack with MIT License | 4 votes |
@Nullable @Override protected SslInfo initSslInfo() { return this.sslInfo; }
Example #11
Source File: MockServerHttpRequest.java From java-technology-stack with MIT License | 4 votes |
@Nullable @Override protected SslInfo initSslInfo() { return this.sslInfo; }