public class RemoteMethodArg extends Object
Modifier and Type | Field and Description |
---|---|
int |
index
The zero-based index of the argument on the Java method.
|
String |
name
The argument name.
|
HttpPartSerializer |
serializer
The serializer used for converting objects to strings.
|
boolean |
skipIfNE
The value is skipped if it's null/empty.
|
Modifier | Constructor and Description |
---|---|
protected |
RemoteMethodArg(String name,
String name2,
int index,
boolean skipIfNE,
Class<? extends HttpPartSerializer> serializer)
Constructor.
|
public final int index
public final boolean skipIfNE
public final HttpPartSerializer serializer
protected RemoteMethodArg(String name, String name2, int index, boolean skipIfNE, Class<? extends HttpPartSerializer> serializer)
name
- The argument name pulled from name().name2
- The argument name pulled from value().index
- The zero-based index of the argument on the Java method.skipIfNE
- The value is skipped if it's null/empty.serializer
- The class to use for serializing headers, query parameters, form-data parameters, and path variables.
If UrlEncodingSerializer
, then the url-encoding serializer defined on the client will be used.Copyright © 2018 Apache. All rights reserved.