Skip to content

Commit 189ba7a

Browse files
author
Chris Walker
committed
Merge from 9.4.x
2 parents ebc6a8e + 49ba6d1 commit 189ba7a

File tree

73 files changed

+114
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+114
-113
lines changed

jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestSecurityAnnotationConversions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public void testRolesAllowedWithTransportGuarantee() throws Exception
173173
public void testMethodAnnotation() throws Exception
174174
{
175175
//ServletSecurity annotation with HttpConstraint of TransportGuarantee.CONFIDENTIAL, and a list of rolesAllowed, and
176-
//a HttpMethodConstraint for GET method that permits all and has TransportGuarantee.NONE (ie is default)
176+
//an HttpMethodConstraint for GET method that permits all and has TransportGuarantee.NONE (ie is default)
177177

178178
WebAppContext wac = makeWebAppContext(Method1Servlet.class.getCanonicalName(), "method1Servlet", new String[]{
179179
"/foo/*", "*.foo"

jetty-client/src/main/java/org/eclipse/jetty/client/HttpClientTransport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* in order to plug-in a different transport for {@link HttpClient}.
2929
* <p>
3030
* While the {@link HttpClient} APIs define the HTTP semantic (request, response, headers, etc.)
31-
* <em>how</em> a HTTP exchange is carried over the network depends on implementations of this class.
31+
* <em>how</em> an HTTP exchange is carried over the network depends on implementations of this class.
3232
* <p>
3333
* The default implementation uses the HTTP protocol to carry over the network the HTTP exchange,
3434
* but the HTTP exchange may also be carried using the FCGI protocol, the HTTP/2 protocol or,

jetty-client/src/main/java/org/eclipse/jetty/client/HttpContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* {@link HttpContent} is a stateful, linear representation of the request content provided
3434
* by a {@link ContentProvider} that can be traversed one-way to obtain content buffers to
35-
* send to a HTTP server.
35+
* send to an HTTP server.
3636
* <p>
3737
* {@link HttpContent} offers the notion of a one-way cursor to traverse the content.
3838
* The cursor starts in a virtual "before" position and can be advanced using {@link #advance()}

jetty-client/src/main/java/org/eclipse/jetty/client/HttpReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* <ol>
5151
* <li>{@link #responseBegin(HttpExchange)}, when the HTTP response data containing the HTTP status code
5252
* is available</li>
53-
* <li>{@link #responseHeader(HttpExchange, HttpField)}, when a HTTP field is available</li>
53+
* <li>{@link #responseHeader(HttpExchange, HttpField)}, when an HTTP field is available</li>
5454
* <li>{@link #responseHeaders(HttpExchange)}, when all HTTP headers are available</li>
5555
* <li>{@link #responseContent(HttpExchange, ByteBuffer, Callback)}, when HTTP content is available</li>
5656
* <li>{@link #responseSuccess(HttpExchange)}, when the response is successful</li>

jetty-client/src/main/java/org/eclipse/jetty/client/HttpRedirector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public HttpRedirector(HttpClient client)
8282

8383
/**
8484
* @param response the response to check for redirects
85-
* @return whether the response code is a HTTP redirect code
85+
* @return whether the response code is an HTTP redirect code
8686
*/
8787
public boolean isRedirect(Response response)
8888
{

jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ private URI newURI(String uri)
876876
}
877877
catch (URISyntaxException x)
878878
{
879-
// The "path" of a HTTP request may not be a URI,
879+
// The "path" of an HTTP request may not be a URI,
880880
// for example for CONNECT 127.0.0.1:8080.
881881
return null;
882882
}

jetty-client/src/main/java/org/eclipse/jetty/client/api/Request.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import org.eclipse.jetty.util.Fields;
4141

4242
/**
43-
* <p>{@link Request} represents a HTTP request, and offers a fluent interface to customize
43+
* <p>{@link Request} represents an HTTP request, and offers a fluent interface to customize
4444
* various attributes such as the path, the headers, the content, etc.</p>
4545
* <p>You can create {@link Request} objects via {@link HttpClient#newRequest(String)} and
4646
* you can send them using either {@link #send()} for a blocking semantic, or

jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.eclipse.jetty.util.Callback;
3030

3131
/**
32-
* <p>{@link Response} represents a HTTP response and offers methods to retrieve status code, HTTP version
32+
* <p>{@link Response} represents an HTTP response and offers methods to retrieve status code, HTTP version
3333
* and headers.</p>
3434
* <p>{@link Response} objects are passed as parameters to {@link Response.Listener} callbacks, or as
3535
* future result of {@link Request#send()}.</p>

jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ else if (read == 0)
161161
}
162162

163163
/**
164-
* Parses a HTTP response in the receivers buffer.
164+
* Parses an HTTP response in the receivers buffer.
165165
*
166166
* @return true to indicate that parsing should be interrupted (and will be resumed by another thread).
167167
*/

jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public void testConnectionForHTTP10ResponseIsRemoved(Scenario scenario) throws E
485485
ContentResponse response = request
486486
.onResponseBegin(response1 ->
487487
{
488-
// Simulate a HTTP 1.0 response has been received.
488+
// Simulate an HTTP 1.0 response has been received.
489489
((HttpResponse)response1).version(HttpVersion.HTTP_1_0);
490490
})
491491
.send();

0 commit comments

Comments
 (0)