Class AbstractClient
java.lang.Object
org.springframework.extensions.webscripts.connector.AbstractClient
- All Implemented Interfaces:
Client
- Direct Known Subclasses:
RemoteClient
Abstract base class for client implementations.
A general purpose but very useful RemoteClient implementation is provided that should handle most HTTP(S) connection needs.
Client objects manage state between the web script layer and the remote endpoint.
Connector objects tell the Client objects what to do and when. They orchestrate the sequence of handshakes and so forth so that the end user or developer doesn't need to worry about the underlying mechanics remoting to the endpoint.
- Author:
- muzquiano, Kevin Roast
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetURL()voidsetEndpoint(String endpoint) Set the endpoint for the Client instance
-
Field Details
-
endpoint
-
-
Constructor Details
-
AbstractClient
public AbstractClient()
-
-
Method Details
-
setEndpoint
Set the endpoint for the Client instance- Parameters:
endpoint- Endpoint URL stem
-
getEndpoint
- Specified by:
getEndpointin interfaceClient- Returns:
- the Endpoint for this Client e.g. http://localhost:8080/alfresco/service
-
getURL
-