public class RestMethodMetadata extends Object implements Serializable
HTTP(REST) request and
its binding method definition| 构造器和说明 |
|---|
RestMethodMetadata() |
public org.apache.dubbo.metadata.definition.model.MethodDefinition getMethod()
public void setMethod(org.apache.dubbo.metadata.definition.model.MethodDefinition method)
public RequestMetadata getRequest()
public void setRequest(RequestMetadata request)
public Integer getUrlIndex()
public void setUrlIndex(Integer urlIndex)
public Integer getBodyIndex()
public void setBodyIndex(Integer bodyIndex)
public Integer getHeaderMapIndex()
public void setHeaderMapIndex(Integer headerMapIndex)
public String getBodyType()
public void setBodyType(String bodyType)
public Map<Integer,Collection<String>> getIndexToName()
public void setIndexToName(Map<Integer,Collection<String>> indexToName)
public ServiceRestMetadata getServiceRestMetadata()
public void setServiceRestMetadata(ServiceRestMetadata serviceRestMetadata)
public void addArgInfo(ArgInfo argInfo)
public Method getReflectMethod()
public void setReflectMethod(Method reflectMethod)
public Class getCodeStyle()
public void setCodeStyle(Class codeStyle)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.