public class ServiceRestMetadata extends Object implements Serializable
HTTP(REST) request and
its binding Dubbo service metadata| 构造器和说明 |
|---|
ServiceRestMetadata() |
ServiceRestMetadata(String serviceInterface,
String version,
String group) |
ServiceRestMetadata(String serviceInterface,
String version,
String group,
boolean consumer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addMethodToServiceMap(RestMethodMetadata restMethodMetadata) |
void |
addPathToServiceMap(PathMatcher pathMather,
RestMethodMetadata restMethodMetadata) |
void |
addRestMethodMetadata(RestMethodMetadata restMethodMetadata) |
boolean |
equals(Object o) |
Class |
getCodeStyle() |
String |
getGroup() |
Set<RestMethodMetadata> |
getMeta() |
Map<String,Map<ParameterTypesComparator,RestMethodMetadata>> |
getMethodToServiceMap() |
Map<PathMatcher,RestMethodMetadata> |
getPathToServiceMap() |
Integer |
getPort() |
String |
getServiceInterface() |
String |
getVersion() |
int |
hashCode() |
boolean |
isConsumer() |
void |
setCodeStyle(Class codeStyle) |
void |
setConsumer(boolean consumer) |
void |
setGroup(String group) |
void |
setMeta(Set<RestMethodMetadata> meta) |
void |
setPort(Integer port) |
void |
setServiceInterface(String serviceInterface) |
void |
setVersion(String version) |
String |
toString() |
public ServiceRestMetadata(String serviceInterface, String version, String group, boolean consumer)
public ServiceRestMetadata()
public String getServiceInterface()
public void setServiceInterface(String serviceInterface)
public String getVersion()
public void setVersion(String version)
public String getGroup()
public void setGroup(String group)
public Set<RestMethodMetadata> getMeta()
public void setMeta(Set<RestMethodMetadata> meta)
public void addRestMethodMetadata(RestMethodMetadata restMethodMetadata)
public Map<PathMatcher,RestMethodMetadata> getPathToServiceMap()
public void addPathToServiceMap(PathMatcher pathMather, RestMethodMetadata restMethodMetadata)
public Integer getPort()
public void setPort(Integer port)
public boolean isConsumer()
public void setConsumer(boolean consumer)
public Map<String,Map<ParameterTypesComparator,RestMethodMetadata>> getMethodToServiceMap()
public void addMethodToServiceMap(RestMethodMetadata restMethodMetadata)
public Class getCodeStyle()
public void setCodeStyle(Class codeStyle)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.