public class FormTransformer extends ParameterTransformer
+--------+---------+--------+------------+------------------------------------+-------------------------+ | style | explode | empty | string | array | object | +--------+---------+--------+------------+------------------------------------+-------------------------+ | form | false | color= | color=blue | color=blue,black,brown | color=R,100,G,200,B,150 | +--------+---------+--------+------------+------------------------------------+-------------------------+ | form | true | color= | color=blue | color=blue&color=black&color=brown | R=100&G=200&B=150 | +--------+---------+--------+------------+------------------------------------+-------------------------+
Constructor and Description |
---|
FormTransformer() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getArrayValues(Parameter parameter,
String rawValue) |
protected String[] |
getObjectKeysAndValues(Parameter parameter,
String rawValue) |
transform, transformArray, transformObject, transformPrimitive
protected String[] getArrayValues(Parameter parameter, String rawValue)
getArrayValues
in class ParameterTransformer
protected String[] getObjectKeysAndValues(Parameter parameter, String rawValue)
getObjectKeysAndValues
in class ParameterTransformer
Copyright © 2024 Eclipse. All rights reserved.