public class Capability
extends java.lang.Object
| Constructor and Description |
|---|
Capability(java.net.URI standardID)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Interface |
findInterface(ca.nrc.cadc.auth.AuthMethod authMethod)
Find a ParamHTTP interface that uses the specified securityMethod.
|
Interface |
findInterface(ca.nrc.cadc.auth.AuthMethod authMethod,
java.net.URI interfaceType)
Find an interface of the specified type that uses the specified authMethdod.
|
Interface |
findInterface(java.net.URI securityMethod)
Find a ParamHTTP interface that uses the specified securityMethod.
|
Interface |
findInterface(java.net.URI securityMethod,
java.net.URI interfaceType)
Find an interface of the specified type that uses the specified securityMethod.
|
java.util.List<Interface> |
getInterfaces() |
java.net.URI |
getStandardID() |
public Capability(java.net.URI standardID)
standardID - standardID of this capabilitypublic java.net.URI getStandardID()
public java.util.List<Interface> getInterfaces()
public Interface findInterface(java.net.URI securityMethod)
securityMethod - securityMethod to matchpublic Interface findInterface(java.net.URI securityMethod, java.net.URI interfaceType)
securityMethod - SecurityMethod to matchinterfaceType - interface type to matchpublic Interface findInterface(ca.nrc.cadc.auth.AuthMethod authMethod)
authMethod - AuthMethod to matchpublic Interface findInterface(ca.nrc.cadc.auth.AuthMethod authMethod, java.net.URI interfaceType)
authMethod - AuthMethod to matchinterfaceType - interface type to match