You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ng-adaptor-jetty/src/main/java/ng/adaptor/jetty/NGAdaptorJetty.java
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -288,9 +288,14 @@ public InvocationType getInvocationType() {
288
288
}
289
289
} );
290
290
291
-
finalNGRequestrequest = newNGRequest( jettyRequest.getMethod(), jettyRequest.getHttpURI().getCanonicalPath(), "FIXME", headerMap( jettyRequest ), newbyte[] {} ); // FIXME: It makes little sense to set the request content to be empty here... // Hugi 2025-04-05
finalbyte[] content = newbyte[] {}; // FIXME: This just kind of reflects the badness of our request data model. The request's "content" is really the part list ... // Hugi 2025-04-05
@@ -71,9 +71,19 @@ public NGRequest( final String method, final String uri, final String httpVersio
71
71
setURI( uri );
72
72
setHttpVersion( httpVersion );
73
73
setHeaders( headers );
74
+
_setFormValues( formValues );
75
+
_setCookieValues( cookieValues );
74
76
setContentBytes( contentBytes );
75
77
}
76
78
79
+
/**
80
+
* FIXME: Old constructor that doesn't set formValues and cookieValues. It's role is a little unclear at the moment, since I'm still considering if having parsing of form values/cookie values in NGRequest makes sense // Hugi 2025-06-09
0 commit comments