Edit in GitHubLog an issue

Enum - ContentType

Enum representing content types found within a schema object.

Definition

Java

Copied to your clipboard
public enum ContentType {
APPLICATION_JSON(0),
TEXT_HTML(1),
TEXT_XML(2),
TEXT_PLAIN(3),
UNKNOWN(4);
@Override
public String toString();
}

String values

Below is the table of values returned by calling the toString method for each case:

CaseString value
APPLICATION_JSON
application/json
TEXT_HTML
text/html
TEXT_XML
text/xml
TEXT_PLAIN
text/plain
UNKNOWN
(empty string)
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.