Skip to content

Injection of HttpClient.Builder for SseHttpClientTransportAutoConfiguration #4142

Description

@leesto82

public class SseHttpClientTransportAutoConfiguration {
@bean
public List sseHttpClientTransports(...) {

	......
		HttpClientSseClientTransport.Builder transportBuilder = HttpClientSseClientTransport.builder(baseUrl)
			.sseEndpoint(sseEndpoint)
			.clientBuilder(HttpClient.newBuilder())
			.objectMapper(objectMapper);
	......
	}
	return sseTransports;
}

}

.clientBuilder(HttpClient.newBuilder())

SseHttpClientTransportAutoConfiguration needs to support custom injection of HttpClient.Builder to facilitate scenarios where SSL needs to be disabled

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions