Interface HttpServiceProxyRegistry
public interface HttpServiceProxyRegistry
A registry for HTTP service clients organized by 
HttpServiceGroup.- Since:
- 7.0
- Author:
- Rossen Stoyanchev, Olga Maciaszek-Sharma
- See Also:
- 
Method SummaryModifier and TypeMethodDescription<P> PReturn an HTTP service client from any group as long as there is only one client of this type across all groups.<P> PReturn an HTTP service client from the named group.getClientTypesInGroup(String groupName) Return all HTTP service client types in the named group.Return the names of all groups in the registry.
- 
Method Details- 
getClientReturn an HTTP service client from any group as long as there is only one client of this type across all groups.- Type Parameters:
- P- the type of HTTP service client
- Parameters:
- httpServiceType- the type of client
- Returns:
- the matched client
- Throws:
- IllegalArgumentException- if there is no client of the given type, or there is more than one client of the given type.
 
- 
getClientReturn an HTTP service client from the named group.- Type Parameters:
- P- the type of HTTP service client
- Parameters:
- groupName- the name of the group
- httpServiceType- the type of client
- Returns:
- the matched client
- Throws:
- IllegalArgumentException- if there is no matching client.
 
- 
getGroupNames
- 
getClientTypesInGroupReturn all HTTP service client types in the named group.- Parameters:
- groupName- the name of the group
- Returns:
- the HTTP service types
- Throws:
- IllegalArgumentException- if there is no matching group.
 
 
-