@Test public void testCacheKey() throws Exception { String cacheKey = client.endpoint(); assertThat("Cache key should be the connector id", cacheKey, equalTo("connector")); }
@Override public String endpoint() { return connector.id(); }
AbstractRemoteClient implements RemoteClient { @Override public String endpoint() { return connector.id(); } }
AbstractRemoteClient implements RemoteClient { @Override public String endpoint() { return connector.id(); } protected  AbstractRemoteClient(EndpointConnector connector, Class<S> cls); }
AbstractRemoteClient implements RemoteClient { @Override public String endpoint() { return connector.id(); } protected  AbstractRemoteClient(EndpointConnector connector, Class<S> cls); boolean authenticate(); static String prefixTokenHeader(byte[] token, @Nonnull String prefix); S svc(); static char[] byteToCharArray(byte[] bytes); final EndpointConnector connector(); @Override String endpoint(); }
AbstractRemoteClient implements RemoteClient { @Override public String endpoint() { return connector.id(); } protected  AbstractRemoteClient(EndpointConnector connector, Class<S> cls); boolean authenticate(); static String prefixTokenHeader(byte[] token, @Nonnull String prefix); S svc(); static char[] byteToCharArray(byte[] bytes); final EndpointConnector connector(); @Override String endpoint();  }