public final class RemoteMethodArg extends Object
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the method argument index.
|
String |
getName()
Returns the name of the HTTP part.
|
HttpPartType |
getPartType()
Returns the HTTP part type.
|
HttpPartSchema |
getSchema()
Returns the HTTP part schema information about this part.
|
HttpPartSerializer |
getSerializer(HttpPartSerializer _default)
Returns the HTTP part serializer to use for serializing this part.
|
boolean |
isSkipIfEmpty()
Returns whether the
skipIfEmpty flag was found in the schema. |
public String getName()
public boolean isSkipIfEmpty()
skipIfEmpty
flag was found in the schema.skipIfEmpty
flag was found in the schema.public int getIndex()
public HttpPartType getPartType()
public HttpPartSerializer getSerializer(HttpPartSerializer _default)
_default
- The default serializer to use if the serializer was not defined via annotations.public HttpPartSchema getSchema()
Copyright © 2018 Apache. All rights reserved.