diff --git a/core-common/src/main/java/org/glassfish/jersey/model/internal/CommonConfig.java b/core-common/src/main/java/org/glassfish/jersey/model/internal/CommonConfig.java index 34d3d31bdb..82bf7ed4cb 100644 --- a/core-common/src/main/java/org/glassfish/jersey/model/internal/CommonConfig.java +++ b/core-common/src/main/java/org/glassfish/jersey/model/internal/CommonConfig.java @@ -102,7 +102,7 @@ public class CommonConfig implements FeatureContext, ExtendedConfig { private final Map immutablePropertiesView; private final Collection immutablePropertyNames; /** - * Configured providers, does not include features and binders. + * Configured providers and binders, does not include features. */ private final ComponentBag componentBag; /** @@ -642,7 +642,7 @@ private Set configureBinders(InjectionManager injectionManager, Set allConfigured = Collections.newSetFromMap(new IdentityHashMap<>()); allConfigured.addAll(configured); - Collection binders = getBinder(configured); + Collection binders = getBinders(configured); if (!binders.isEmpty()) { injectionManager.register(CompositeBinder.wrap(binders)); allConfigured.addAll(binders); @@ -651,7 +651,7 @@ private Set configureBinders(InjectionManager injectionManager, Set getBinder(Set configured) { + private Collection getBinders(Set configured) { return componentBag.getInstances(ComponentBag.BINDERS_ONLY) .stream() .map(CAST_TO_BINDER) diff --git a/core-server/src/main/java/org/glassfish/jersey/server/internal/inject/ParamInjectionResolver.java b/core-server/src/main/java/org/glassfish/jersey/server/internal/inject/ParamInjectionResolver.java index 412db2b490..31cc69150e 100644 --- a/core-server/src/main/java/org/glassfish/jersey/server/internal/inject/ParamInjectionResolver.java +++ b/core-server/src/main/java/org/glassfish/jersey/server/internal/inject/ParamInjectionResolver.java @@ -60,7 +60,7 @@ import org.glassfish.jersey.server.spi.internal.ValueParamProvider; /** - * Abstract base class for resolving JAX-RS {@code @XxxParam} injection. + * Generic class for resolving JAX-RS {@code @XxxParam} injection. * * @param supported parameter injection annotation. * @author Marek Potociar (marek.potociar at oracle.com) diff --git a/docs/src/main/docbook/filters.xml b/docs/src/main/docbook/filters.xml index 313b20cf06..567287fe07 100644 --- a/docs/src/main/docbook/filters.xml +++ b/docs/src/main/docbook/filters.xml @@ -243,9 +243,9 @@ public class PreMatchingFilter implements ContainerRequestFilter {
Client filters - Client filters are similar to container filters. The response can also be aborted + Client filters are similar to container filters. The request can also be aborted in the &jaxrs.client.ClientRequestFilter; which would cause that no request will actually be sent to the server at all. - A new response is passed to the abort method. This response will be used and delivered + A new response is passed to the abortWith method. This response will be used and delivered as a result of the request invocation. Such a response goes through the client response filters. This is similar to what happens on the server side. The process is shown in the following example: diff --git a/docs/src/main/docbook/sse.xml b/docs/src/main/docbook/sse.xml index 50299f6408..f0ee66ffe9 100644 --- a/docs/src/main/docbook/sse.xml +++ b/docs/src/main/docbook/sse.xml @@ -228,7 +228,7 @@ public static class SseResource { The code above defines the resource deployed on URI "/events". This resource has a single @GET - resource method which returns void. This is an imported difference + resource method which returns void. This is an important difference against the original API. It is Jersey's responsibility to bind the injected SseEventSink to the output chain.