|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.gwt.Uniform
org.restlet.gwt.Restlet
org.restlet.gwt.Connector
public abstract class Connector
Restlet enabling communication between Components. "A connector is an
abstract mechanism that mediates communication, coordination, or cooperation
among components. Connectors enable communication between components by
transferring data elements from one interface to another without changing the
data." Roy T. Fielding
"Encapsulate the activities of accessing resources and transferring resource
representations. The connectors present an abstract interface for component
communication, enhancing simplicity by providing a clean separation of
concerns and hiding the underlying implementation of resources and
communication mechanisms" Roy T. Fielding
Constructor Summary | |
---|---|
Connector(Context context)
Constructor. |
|
Connector(Context context,
java.util.List<Protocol> protocols)
Constructor. |
Method Summary | |
---|---|
java.util.List<Protocol> |
getProtocols()
Returns the modifiable list of protocols simultaneously supported. |
void |
setProtocols(java.util.List<Protocol> protocols)
Sets the protocols simultaneously supported. |
Methods inherited from class org.restlet.gwt.Restlet |
---|
getContext, handle, isStarted, isStopped, setContext, start, stop |
Methods inherited from class org.restlet.gwt.Uniform |
---|
delete, delete, get, get, handle, head, head, options, options, post, post, post, put, put, put |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Connector(Context context)
context
- The context.public Connector(Context context, java.util.List<Protocol> protocols)
context
- The context.protocols
- The supported protocols.Method Detail |
---|
public java.util.List<Protocol> getProtocols()
public void setProtocols(java.util.List<Protocol> protocols)
protocols
- The protocols simultaneously supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |