22= RSocket
33:gh-rsocket: https://github.com/rsocket
44:gh-rsocket-java: {gh-rsocket}/rsocket-java
5- :gh-rsocket-extentions : {gh-rsocket}/rsocket/blob/master/Extensions
5+ :gh-rsocket-extensions : {gh-rsocket}/rsocket/blob/master/Extensions
66
77This section describes Spring Framework's support for the RSocket protocol.
88
@@ -99,9 +99,9 @@ and therefore only included in the first message on a request, i.e. with one of
9999
100100Protocol extensions define common metadata formats for use in applications:
101101
102- * {gh-rsocket-extentions }/CompositeMetadata.md[Composite Metadata]-- multiple,
102+ * {gh-rsocket-extensions }/CompositeMetadata.md[Composite Metadata]-- multiple,
103103 independently formatted metadata entries.
104- * {gh-rsocket-extentions }/Routing.md[Routing] -- the route for a request.
104+ * {gh-rsocket-extensions }/Routing.md[Routing] -- the route for a request.
105105
106106
107107
@@ -218,7 +218,7 @@ established transparently and used.
218218
219219For data, the default mime type is derived from the first configured `Decoder`. For
220220metadata, the default mime type is
221- {gh-rsocket-extentions }/CompositeMetadata.md[composite metadata] which allows multiple
221+ {gh-rsocket-extensions }/CompositeMetadata.md[composite metadata] which allows multiple
222222metadata value and mime type pairs per request. Typically both don't need to be changed.
223223
224224Data and metadata in the `SETUP` frame is optional. On the server side,
@@ -291,7 +291,7 @@ infrastructure that's used on a server, but registered programmatically as follo
291291----
292292<1> Use `PathPatternRouteMatcher`, if `spring-web` is present, for efficient
293293 route matching.
294- <2> Create a responder from a class with `@MessageMaping ` and/or `@ConnectMapping` methods.
294+ <2> Create a responder from a class with `@MessageMapping ` and/or `@ConnectMapping` methods.
295295<3> Register the responder.
296296
297297[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
@@ -310,7 +310,7 @@ infrastructure that's used on a server, but registered programmatically as follo
310310----
311311<1> Use `PathPatternRouteMatcher`, if `spring-web` is present, for efficient
312312route matching.
313- <2> Create a responder from a class with `@MessageMaping ` and/or `@ConnectMapping` methods.
313+ <2> Create a responder from a class with `@MessageMapping ` and/or `@ConnectMapping` methods.
314314<3> Register the responder.
315315
316316Note the above is only a shortcut designed for programmatic registration of client
@@ -494,7 +494,7 @@ The `data(Object)` step is optional. Skip it for requests that don't send data:
494494----
495495
496496Extra metadata values can be added if using
497- {gh-rsocket-extentions }/CompositeMetadata.md[composite metadata] (the default) and if the
497+ {gh-rsocket-extensions }/CompositeMetadata.md[composite metadata] (the default) and if the
498498values are supported by a registered `Encoder`. For example:
499499
500500[source,java,indent=0,subs="verbatim,quotes",role="primary"]
@@ -605,8 +605,8 @@ Then start an RSocket server through the Java RSocket API and plug the
605605----
606606
607607`RSocketMessageHandler` supports
608- {gh-rsocket-extentions }/CompositeMetadata.md[composite] and
609- {gh-rsocket-extentions }/Routing.md[routing] metadata by default. You can set its
608+ {gh-rsocket-extensions }/CompositeMetadata.md[composite] and
609+ {gh-rsocket-extensions }/Routing.md[routing] metadata by default. You can set its
610610<<rsocket-metadata-extractor>> if you need to switch to a
611611different mime type or register additional metadata mime types.
612612
@@ -821,7 +821,7 @@ requests to the `RSocketRequester` for the connection. See
821821== MetadataExtractor
822822
823823Responders must interpret metadata.
824- {gh-rsocket-extentions }/CompositeMetadata.md[Composite metadata] allows independently
824+ {gh-rsocket-extensions }/CompositeMetadata.md[Composite metadata] allows independently
825825formatted metadata values (e.g. for routing, security, tracing) each with its own mime
826826type. Applications need a way to configure metadata mime types to support, and a way
827827to access extracted values.
@@ -832,7 +832,7 @@ in annotated handler methods.
832832
833833`DefaultMetadataExtractor` can be given `Decoder` instances to decode metadata. Out of
834834the box it has built-in support for
835- {gh-rsocket-extentions }/Routing.md["message/x.rsocket.routing.v0"] which it decodes to
835+ {gh-rsocket-extensions }/Routing.md["message/x.rsocket.routing.v0"] which it decodes to
836836`String` and saves under the "route" key. For any other mime type you'll need to provide
837837a `Decoder` and register the mime type as follows:
838838
0 commit comments