Skip to content

appfw JSONContentType

The following operations can be performed on "appfw JSONContentType":

add| rm| show

add appfw JSONContentType

p{white-space: pre-wrap;}

Add JSON content type. This will classify a request/response with the specified content type as JSON

Synopsys

add appfw JSONContentType <JSONContenttypevalue> [-isRegex ( REGEX | NOTREGEX )]

Arguments

JSONContenttypevalue

Content type to be classified as JSON

isRegex

Is json content type a regular expression?

Possible values: REGEX, NOTREGEX

Default value: NOTREGEX

rm appfw JSONContentType

p{white-space: pre-wrap;}

Remove JSON content type.

Synopsys

rm appfw JSONContentType <JSONContenttypevalue>

Arguments

JSONContenttypevalue

Content type to be classified as JSON

show appfw JSONContentType

p{white-space: pre-wrap;}

Display all JSON content types.

Synopsys

show appfw JSONContentType [<JSONContenttypevalue>]

Arguments

JSONContenttypevalue

Content type to be classified as JSON

Outputs

isRegex

Is json content type a regular expression?

builtin

Flag to determine if jsoncontenttype is built-in or not

feature

The feature to be checked while applying this config

devno

count

stateflag