From aed118c4103a21bc44094c34da2e2e6fee0e4d26 Mon Sep 17 00:00:00 2001 From: Andrea Vacondio Date: Fri, 25 May 2018 11:47:54 +0200 Subject: [PATCH] Fix documentation error Closes gh-13260 --- .../src/main/asciidoc/production-ready-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 3ec02af4276..88a9509ad4e 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -662,7 +662,7 @@ authorization checks using its `isUserInRole(String)` method. ==== Servlet endpoints A `Servlet` can be exposed as an endpoint by implementing a class annotated with `@ServletEndpoint` that also implements `Supplier`. Servlet endpoints -provide deeper integration with the Servlet container but at the expose of portability. +provide deeper integration with the Servlet container but at the expense of portability. They are intended to be used to expose an existing `Servlet` as an endpoint. For new endpoints, the `@Endpoint` and `@WebEndpoint` annotations should be preferred whenever possible.