| |
|
| java.lang.Object org.restlet.service.ConnectorService
ConnectorService | public class ConnectorService (Code) | | Service providing client and server connectors.
Implementation note: the parent component will ensure that client connectors
won't automatically follow redirections. This will ensure a consistent
behavior and portability of applications.
author: Jerome Louvel (contact@noelios.com) |
ConnectorService | public ConnectorService()(Code) | | Constructor.
|
afterSend | public void afterSend(Representation entity)(Code) | | Call-back method invoked by the client or server connectors just after
sending the entity to the target component. The default implementation
does nothing.
Parameters: entity - The entity about to be committed. |
beforeSend | public void beforeSend(Representation entity)(Code) | | Call-back method invoked by the client or server connectors just before
sending the entity to the target component. The default implementation
does nothing.
Parameters: entity - The entity about to be committed. |
getClientProtocols | public List<Protocol> getClientProtocols()(Code) | | Returns the list of required client protocols. You need to update
this list if you need the parent component to provide additional client
connectors.
The list of required client protocols. |
getServerProtocols | public List<Protocol> getServerProtocols()(Code) | | Returns the list of required server protocols. An empty list means that
all protocols are potentially supported (default case). You should update
this list to restrict the actual protocols supported by your application.
The list of required server protocols. |
|
|
|