@Test public void testToString() throws Exception { final String actual = resource.toString(); final String expected = target().path("myresource").toString(); assertEquals(expected, actual); }
@Override public String toString() { return target.toString(); }
WebResourceFactory implements InvocationHandler { @Override public String toString() { return target.toString(); } }
WebResourceFactory implements InvocationHandler { @Override public String toString() { return target.toString(); } private  WebResourceFactory(final WebTarget target, final MultivaluedMap<String, Object> headers,
                               final List<Cookie> cookies, final Form form); }
WebResourceFactory implements InvocationHandler { @Override public String toString() { return target.toString(); } private  WebResourceFactory(final WebTarget target, final MultivaluedMap<String, Object> headers,
                               final List<Cookie> cookies, final Form form); static C newResource(final Class<C> resourceInterface, final WebTarget target); @SuppressWarnings("unchecked") static C newResource(final Class<C> resourceInterface,
                                    final WebTarget target,
                                    final boolean ignoreResourcePath,
                                    final MultivaluedMap<String, Object> headers,
                                    final List<Cookie> cookies,
                                    final Form form); @Override @SuppressWarnings("unchecked") Object invoke(final Object proxy, final Method method, final Object[] args); @Override String toString(); }
WebResourceFactory implements InvocationHandler { @Override public String toString() { return target.toString(); } private  WebResourceFactory(final WebTarget target, final MultivaluedMap<String, Object> headers,
                               final List<Cookie> cookies, final Form form); static C newResource(final Class<C> resourceInterface, final WebTarget target); @SuppressWarnings("unchecked") static C newResource(final Class<C> resourceInterface,
                                    final WebTarget target,
                                    final boolean ignoreResourcePath,
                                    final MultivaluedMap<String, Object> headers,
                                    final List<Cookie> cookies,
                                    final Form form); @Override @SuppressWarnings("unchecked") Object invoke(final Object proxy, final Method method, final Object[] args); @Override String toString();  }