Did your computer fail to open an OCTET-STREAM file? We explain what OCTET-STREAM files are and recommend software that we know can open or convert your OCTET-STREAM files.

What is an OCTET-STREAM file?

The OCTET-STREAM format is used for file attachments on the Web with an unknown file type. These .octet-stream files are arbitrary binary data files that may be in any multimedia format. The OCTET-STREAM format was developed for Web browsers to understand that the file attachment is in an unknown file type, which also allows the user to choose to download and save the attached file in any file format that the user wants.

In other instances, the OCTET-STREAM file format is used to inform the user that the attached file may be saved in a recommended file format. This also allows the Web browser to enable the user to know the recommended file format for the attached .octet-stream file.

These OCTET-STREAM files may be opened by renaming the extension of the attached file to a specific file extension, and then by using an application with support for opening such files. For example, an .octet-stream file may be renamed to a .txt file (if it is indeed a .txt file), and Notepad may then be used to open the file. This means the user needs to know the file type of the attached .octet-stream file before renaming the file in the correct file extension.

Software that will open, convert or fix OCTET-STREAM files

Unfortunately we have not received enough suggestions for software that can open OCTET-STREAM files yet.

Try a universal file viewer

I would suggest that you try a universal file viewer like Free File Viewer. It can open over 200 different types of files - and very likely yours too! Download Free File Viewer.

By Prof. Jones (The File Expert)

Chief Content Editor and File Expert

Suggestions for this page? Mail me.

I am using a ISBNdB to get info about the books.The reponse type is application/octet-stream. A sample json response I get looks as follows

I am using Jackson to convert this reponse. My Pojo looks as follows

When I tried following Panic at the disco cds.

I get this exception

But I am able to map the response to String

How to go about mapping the response directly POJO instead of String and converting back to POJO

RengasRengas

2 Answers

You need to conifigure restTemplate with message converters. In you configuration do the following:

jnyjny

I guess the better solution is to just add another converter, not to modify current ones:

VityVity

Not the answer you're looking for? Browse other questions tagged javajsonspring-mvcspring-bootjackson or ask your own question.