public abstract class Connector extends Restlet
| Constructor and Description | 
|---|
Connector(Context context)
Constructor. 
 | 
Connector(Context context,
         java.util.List<Protocol> protocols)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Protocol> | 
getProtocols()
Returns the modifiable list of protocols simultaneously supported. 
 | 
abstract boolean | 
isAvailable()
Indicates the underlying connector helper is available. 
 | 
void | 
setProtocols(java.util.List<Protocol> protocols)
Sets the list of protocols simultaneously supported. 
 | 
finalize, getAuthor, getContext, getDescription, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner, start, stoppublic Connector(Context context)
context - The context.public java.util.List<Protocol> getProtocols()
public abstract boolean isAvailable()
public void setProtocols(java.util.List<Protocol> protocols)
protocols - A list of protocols.Copyright © 2005-2024 Restlet.