# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

Deprecated Classes
Class and Description
org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer as of 5.0 in favor of simply using `WebSocketMessageBrokerConfigurer` which has default methods, made possible by a Java 8 baseline.

Deprecated Methods
Method and Description
org.springframework.web.socket.WebSocketHttpHeaders.readOnlyWebSocketHttpHeaders(WebSocketHttpHeaders) as of 5.1.16, in favor of calling `WebSocketHttpHeaders.WebSocketHttpHeaders(HttpHeaders)` with a read-only wrapper from `HttpHeaders.readOnlyHttpHeaders(HttpHeaders)`