@@ -162,20 +162,20 @@ public ResponseEntity<String> postRequests(Model model, HttpServletRequest reque
162
162
LOG .info ("Got HTTP Request with method POST.\n UrlSuffix: " + eiBackendAddressSuffix +
163
163
"\n Forwarding Request to EI Backend with url: " + newRequestUrl );
164
164
165
- String inputReqjsonContent = "" ;
165
+ String inputReqJsonContent = "" ;
166
166
try {
167
167
BufferedReader inputBufReader = new BufferedReader (request .getReader ());
168
168
for (String line = inputBufReader .readLine (); line != null ; line = inputBufReader .readLine ()) {
169
- inputReqjsonContent += line ;
169
+ inputReqJsonContent += line ;
170
170
}
171
171
inputBufReader .close ();
172
172
}
173
173
catch (IOException e ) {
174
174
LOG .error ("Forward Request Errors: " + e );
175
175
}
176
176
177
- LOG .debug ("Input Request JSON Content to be forwarded:\n " + inputReqjsonContent );
178
- HttpEntity inputReqJsonEntity = new ByteArrayEntity (inputReqjsonContent .getBytes ());
177
+ LOG .debug ("Input Request JSON Content to be forwarded:\n " + inputReqJsonContent );
178
+ HttpEntity inputReqJsonEntity = new ByteArrayEntity (inputReqJsonContent .getBytes ());
179
179
180
180
181
181
HttpClient client = HttpClients .createDefault ();
@@ -231,20 +231,20 @@ public ResponseEntity<String> putRequests(Model model, HttpServletRequest reques
231
231
LOG .info ("Got HTTP Request with method PUT.\n UrlSuffix: " + eiBackendAddressSuffix +
232
232
"\n Forwarding Request to EI Backend with url: " + newRequestUrl );
233
233
234
- String inputReqjsonContent = "" ;
234
+ String inputReqJsonContent = "" ;
235
235
try {
236
236
BufferedReader inputBufReader = new BufferedReader (request .getReader ());
237
237
for (String line = inputBufReader .readLine (); line != null ; line = inputBufReader .readLine ()) {
238
- inputReqjsonContent += line ;
238
+ inputReqJsonContent += line ;
239
239
}
240
240
inputBufReader .close ();
241
241
}
242
242
catch (IOException e ) {
243
243
LOG .error ("Forward Request Errors: " + e );
244
244
}
245
245
246
- LOG .debug ("Input Request JSON Content to be forwarded:\n " + inputReqjsonContent );
247
- HttpEntity inputReqJsonEntity = new ByteArrayEntity (inputReqjsonContent .getBytes ());
246
+ LOG .debug ("Input Request JSON Content to be forwarded:\n " + inputReqJsonContent );
247
+ HttpEntity inputReqJsonEntity = new ByteArrayEntity (inputReqJsonContent .getBytes ());
248
248
249
249
250
250
HttpClient client = HttpClients .createDefault ();
0 commit comments