public class RequestMethod extends Object implements AcceptsModelVisitor
Modifier and Type | Class and Description |
---|---|
static class |
RequestMethod.Builder
Builds a
ContextMethod . |
static class |
RequestMethod.CollectionType
Indicates the type of collection that a Request will return.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ModelVisitor visitor) |
String |
getApiVersion() |
com.google.gwt.core.ext.typeinfo.JClassType |
getCollectionElementType()
If the method returns a collection, this method will return the element
type.
|
RequestMethod.CollectionType |
getCollectionType() |
com.google.gwt.core.ext.typeinfo.JClassType |
getDataType() |
com.google.gwt.core.ext.typeinfo.JMethod |
getDeclarationMethod() |
EntityProxyModel |
getEntityType()
If the type returned from
getDataType() refers to an EntityProxy
subtype, or a collection of EntityProxy subtypes, returns the
EntityProxyModel describing the entity. |
List<com.google.gwt.core.ext.typeinfo.JMethod> |
getExtraSetters() |
EntityProxyModel |
getInstanceType()
If the method is intended to be invoked on an instance of an EntityProxy,
returns the EntityProxyModel describing that type.
|
com.google.gwt.core.ext.typeinfo.JClassType |
getMapKeyType() |
com.google.gwt.core.ext.typeinfo.JClassType |
getMapValueType() |
String |
getOperation() |
boolean |
isCollectionType() |
boolean |
isEntityType() |
boolean |
isInstance() |
boolean |
isValueType() |
String |
toString()
For debugging use only.
|
public void accept(ModelVisitor visitor)
accept
in interface AcceptsModelVisitor
public String getApiVersion()
public com.google.gwt.core.ext.typeinfo.JClassType getCollectionElementType()
public RequestMethod.CollectionType getCollectionType()
public com.google.gwt.core.ext.typeinfo.JClassType getDataType()
public com.google.gwt.core.ext.typeinfo.JMethod getDeclarationMethod()
public EntityProxyModel getEntityType()
getDataType()
refers to an EntityProxy
subtype, or a collection of EntityProxy subtypes, returns the
EntityProxyModel describing the entity.public List<com.google.gwt.core.ext.typeinfo.JMethod> getExtraSetters()
public EntityProxyModel getInstanceType()
public com.google.gwt.core.ext.typeinfo.JClassType getMapKeyType()
public com.google.gwt.core.ext.typeinfo.JClassType getMapValueType()
public String getOperation()
public boolean isCollectionType()
public boolean isEntityType()
public boolean isInstance()
public boolean isValueType()
Copyright © 2016. All rights reserved.