Path
@Deprecated @Documented @Target(value={PARAMETER,FIELD,METHOD}) @Retention(value=RUNTIME) @Inherited public @interface Path
Modifier and Type | Optional Element and Description |
---|---|
String |
name
Deprecated.
The path parameter name.
|
Class<? extends HttpPartSerializer> |
serializer
Deprecated.
Specifies the
HttpPartSerializer class used for serializing values to strings. |
String |
value
Deprecated.
A synonym for
name() . |
public abstract String name
Note that name()
and value()
are synonyms.
The value should be either
A blank value (the default) has the following behavior:
NameValuePairs
, Map
, or a bean,
then it's the equivalent to
public abstract Class<? extends HttpPartSerializer> serializer
HttpPartSerializer
class used for serializing values to strings.
The default value defaults to the using the part serializer defined on the @RequestBean
annotation,
then on the client which by default is UrlEncodingSerializer
.
This annotation is provided to allow values to be custom serialized.
Copyright © 2018 Apache. All rights reserved.