Skip to main content
0 votes
0 answers
83 views

Does anyone see any issues with the below code? I'm experiencing issues where the StreamingResponseBody returned by this method is null and no content is returned in the ResponseEntity body of the ...
LeeroyJenkins25's user avatar
0 votes
0 answers
36 views

I'm trying to send data from minio (s3) to another service. Do I need to close the resource myself after sending? public void uploadResource(InputStream coilsMapStream) { Mono<Void> response ...
RedStarAtom's user avatar
1 vote
0 answers
65 views

I'm doing a project to read Excel files from my phone and output the data to the screen. This is how I try to do it: private fun readDataExel() { val file = Uri.parse("content://com....
Andrei Gladyshev's user avatar
2 votes
1 answer
183 views

I'm receiving a JSON DTO containing a b64 file in one of its fields. That file can be quite big (100MiB+ - don't ask) and I'm trying to read it as a stream from the JSON to reduce the load on memory. ...
Jemox's user avatar
  • 294
0 votes
1 answer
61 views

I am building a language interpreter and needs to have two functions, one to input an integer and another to input a character (from System.in). For instance, inputting integer - character - integer - ...
Sunny's user avatar
  • 147
1 vote
0 answers
38 views

I'm trying to download a ZIP file on Android via FTP. Problem is that sometimes the received file has some bytes missing towards the end. This doesn't happen using InputStream/OutputStream on local ...
Salvador's user avatar
  • 814
0 votes
0 answers
51 views

I have an InputStream and the following code works, reading some bytes from the input stream and creating a string with them: byte[] buffer = new byte[1024]; int i = in.read(buffer, 0, 1024); //"...
uylmz's user avatar
  • 1,580
0 votes
2 answers
61 views

I am developing an Android bluetooth app that will have a terminal communication between Arduino and Android. The communication works but the inputstream reads and creates seperate strings from the ...
user22239162's user avatar
0 votes
1 answer
40 views

I want to cache the input stream of certain endpoints, have been able to achieve this only for all endpoints. tried creating an interceptor that turns on caching per method annotation this fails ...
NOOBAF's user avatar
  • 187
3 votes
1 answer
728 views

I have a service that uploads images to AWS S3 using a MultipartFile. These images are later served as public files. There is a security concern: these images might contain sensitive EXIF metadata (e....
catch22's user avatar
  • 1,713
0 votes
1 answer
94 views

Unable to access the .yml file as the it is not getting read. Not sure if the path is wrong or that given I am on Mac, I need different way for path setup. I am trying to access .yml which is housed ...
GPark's user avatar
  • 13
-2 votes
1 answer
633 views

Im using a webflux springboot application. where i have an API which takes a FilePart as input and then convert it to inputstream since i make a filetype check using Tika library and then upload this ...
Prajwal Raju P's user avatar
1 vote
1 answer
138 views

I have the source code of a running project - that is unfortunately already deployed to customers. The following Java code is running the update process : public void downloadChanges() throws ...
Blue Nachid's user avatar
1 vote
0 answers
120 views

I've wanted to make an utf 8 supported chatroom, but it didn't work only for some specific utf 8 characters, so after spending a week in pure frustration, i narrowed it down to something being wrong ...
Ádám's user avatar
  • 11
0 votes
0 answers
138 views

I have a TCP Socket implementation in Kotlin and use the code below to read a String (using a BufferedReader): val readBuffer = BufferedReader(InputStreamReader(socket.inputStream)) private fun ...
Flock Dawson's user avatar
  • 1,888

15 30 50 per page
1
2 3 4 5
293