lookup> text/x-java-source

text/x-java-source

text/x-java-source is a text media type commonly associated with .java extensions.

MIME typetext/x-java-source
Extensions.java
Charset
Compressible
Sourceapache

text/x-java-source

text/x-java-source is one of the text media types used on the internet. When serving this content over HTTP, set the Content-Type header in the response, for example:

Content-Type: text/x-java-source

Related entities: associated extensions include .java, and is delivered over HTTP via the Content-Type header, commonly with GET, POST, PUT and PATCH requests.

Related formats:

Java Source File
.javaserved as
mime type
text/x-java-sourcesent via header
http header

text/x-java-source is identified in HTTP by the Content-Type header and is commonly used with these methods:

What is text/x-java-source?

text/x-java-source is a text media type used to identify a content format; servers announce it to clients with the Content-Type header.

Which file extensions use text/x-java-source?

Extensions such as .java are associated with this MIME type.

How do I set the Content-Type for text/x-java-source?

Send Content-Type: text/x-java-source in the HTTP response.

Related extensions

Related MIME types

Related headers

Related methods