Skip to content

Commit

Permalink
Merge pull request #42436 from xstefank/fix-typo-websocket-doc
Browse files Browse the repository at this point in the history
Fix methos to methods typos
  • Loading branch information
gsmet committed Aug 9, 2024
2 parents 818a58d + 5856055 commit d41ab4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/websockets-next-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ Methods annotated with `@OnOpen`, `@OnTextMessage`, `@OnBinaryMessage`, and `@On
@Inject WebSocketConnection connection;
----

NOTE: Note that outside of these methos, the `WebSocketConnection` object is not available. However, it is possible to <<list-open-connections,list all open connections>>.
NOTE: Note that outside of these methods, the `WebSocketConnection` object is not available. However, it is possible to <<list-open-connections,list all open connections>>.

The connection can be used to send messages to the client, access the path parameters, broadcast messages to all connected clients, etc.

Expand Down Expand Up @@ -909,7 +909,7 @@ Methods annotated with `@OnOpen`, `@OnTextMessage`, `@OnBinaryMessage`, and `@On
@Inject WebSocketClientConnection connection;
----

NOTE: Note that outside of these methos, the `WebSocketClientConnection` object is not available. However, it is possible to <<list-open-client-connections,list all open client connections>>.
NOTE: Note that outside of these methods, the `WebSocketClientConnection` object is not available. However, it is possible to <<list-open-client-connections,list all open client connections>>.

The connection can be used to send messages to the client, access the path parameters, etc.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* non-public members, constructors, static initializers, static, synthetic and void methods are always ignored.
* <p>
* If the {@link #namespace()} is set to a non-empty value then a namespace resolver is automatically generated to access static
* fields and methos of the target class.
* fields and methods of the target class.
*
* @see ValueResolver
* @see NamespaceResolver
Expand Down Expand Up @@ -60,7 +60,7 @@
boolean properties() default false;

/**
* If set to a non-empty value then a namespace resolver is automatically generated to access static fields and methos of
* If set to a non-empty value then a namespace resolver is automatically generated to access static fields and methods of
* the target class.
* <p>
* By default, the namespace is the FQCN of the target class where dots and dollar signs are replaced by underscores, for
Expand Down

0 comments on commit d41ab4c

Please sign in to comment.