@Documented @Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) @Inherited public @interface UrlEncoding
UrlEncodingSerializer
and UrlEncodingParser
.Modifier and Type | Optional Element and Description |
---|---|
boolean |
expandedParams
When true, bean properties of type array or Collection will be expanded into multiple key/value pairings.
|
String |
on
Dynamically apply this annotation to the specified classes/methods/fields.
|
public abstract boolean expandedParams
This annotation is identical in behavior to using the UrlEncodingSerializer.URLENC_expandedParams
and UrlEncodingParser.URLENC_expandedParams
properties, but applies to only instances of this bean.
public abstract String on
Used in conjunction with the UrlEncodingConfig.applyUrlEncoding()
.
It is ignored when the annotation is applied directly to classes/methods/fields.
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.