public interface ServiceDefTarget
GWT.create(Class)
on a
RemoteService
to this interface to initialize the target URL for the
remote service.Modifier and Type | Interface and Description |
---|---|
static class |
ServiceDefTarget.NoServiceEntryPointSpecifiedException
This exception is thrown when a service is invoked without
setServiceEntryPoint(String) having been called. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSerializationPolicyName()
Return the strong name of the serialization policy to be used with this RPC
instance.
|
java.lang.String |
getServiceEntryPoint()
Gets the URL of a service implementation.
|
void |
setRpcRequestBuilder(RpcRequestBuilder builder)
Sets the RpcRequestBuilder that should be used by the service
implementation.
|
void |
setServiceEntryPoint(java.lang.String address)
Sets the URL of a service implementation.
|
java.lang.String getSerializationPolicyName()
java.lang.String getServiceEntryPoint()
setServiceEntryPoint(String)
void setRpcRequestBuilder(RpcRequestBuilder builder)
void setServiceEntryPoint(java.lang.String address)
address
- a URL that designates the service implementation to call