Skip to content

Commit 352801d

Browse files
committed
Fix indentation
1 parent daccb0d commit 352801d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-ws-docs/src/docs/asciidoc/server.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ If you want to use a different scope, such as prototype, see the {spring-framewo
670670
Note that all abstract base classes provided in Spring-WS are thread safe, unless otherwise indicated in the class-level Javadoc.
671671

672672
[[server-atEndpoint-methods]]
673-
=== `@Endpoint` handling methods
673+
== `@Endpoint` handling methods
674674

675675
For an endpoint to actually handle incoming XML messages, it needs to have one or more handling methods.
676676
Handling methods can take wide range of parameters and return types.
@@ -697,7 +697,7 @@ The `order` method takes an `Element` (annotated with `@RequestPayload`) as a pa
697697
This means that the payload of the message is passed on this method as a DOM element.
698698
The method has a `void` return type, indicating that no response message is sent.
699699

700-
==== Handling Method Parameters
700+
=== Handling Method Parameters
701701

702702
The handling method typically has one or more parameters that refer to various parts of the incoming XML message.
703703
Most commonly, the handling method has a single parameter that maps to the payload of the message, but it can also map to other parts of the request message, such as a SOAP header.
@@ -808,7 +808,7 @@ You can even extend this mechanism to support your own parameter types.
808808
See the Javadoc of {spring-ws-api}/server/endpoint/adapter/DefaultMethodEndpointAdapter.html[`DefaultMethodEndpointAdapter`] and {spring-ws-api}/server/endpoint/adapter/method/MethodArgumentResolver.html[`MethodArgumentResolver`] to see how.
809809

810810
[[server-xpath-param]]
811-
===== `@XPathParam`
811+
==== `@XPathParam`
812812

813813
One parameter type needs some extra explanation: `@XPathParam`.
814814
The idea here is that you annotate one or more method parameters with an XPath expression and that each such annotated parameter is bound to the evaluation of the expression.
@@ -860,7 +860,7 @@ By using the `@XPathParam`, you can bind to all the data types supported by XPat
860860

861861
In addition to this list, you can use any type that can be converted from a `String` by a Spring {spring-framework-docs}/core/validation/convert.html#core-convert-ConversionService-API[conversion service].
862862

863-
==== Handling method return types
863+
=== Handling method return types
864864

865865
To send a response message, the handling needs to specify a return type.
866866
If no response message is required, the method can declare a `void` return type.

0 commit comments

Comments
 (0)