Interface IGwtRpcSerializationPolicyCache

  • All Known Implementing Classes:
    GwtRpcSerializationPolicyCache

    public interface IGwtRpcSerializationPolicyCache
    The IGwtRpcSerializationPolicyCache interface represents a cached serialization policy provider.
    See Also:
    SerializationPolicyProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicy​(String moduleBaseURL, String strongName, com.google.gwt.user.server.rpc.SerializationPolicyProvider sourceProvider)
      Get a SerializationPolicy from cache or from the given provider.
    • Method Detail

      • getSerializationPolicy

        @NonNull
        com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicy​(@Nullable
                                                                                  String moduleBaseURL,
                                                                                  @Nullable
                                                                                  String strongName,
                                                                                  @NonNull
                                                                                  com.google.gwt.user.server.rpc.SerializationPolicyProvider sourceProvider)
        Get a SerializationPolicy from cache or from the given provider.
        Parameters:
        moduleBaseURL - The base URL of the GWT module.
        strongName - The strong name of the GWT module.
        sourceProvider - The provider to use to obtain a missing policy. Cannot return null.
        Returns:
        A serialization policy.