@Test public void testSetAndGetNameResolver() throws Exception { assertSame(builder.build().getNameResolver(), StandardNameResolver.getInstance()); ParsecNameResolver nameResolver = Mockito.mock(ParsecNameResolver.class); assertSame(builder.setNameResolver(nameResolver), builder); assertSame(builder.build().getNameResolver(), nameResolver); }
public ParsecNameResolver getNameResolver() { return ((DelegateNameResolver) ningRequest.getNameResolver()).getDelegate(); }
ParsecAsyncHttpRequest { public ParsecNameResolver getNameResolver() { return ((DelegateNameResolver) ningRequest.getNameResolver()).getDelegate(); } }
ParsecAsyncHttpRequest { public ParsecNameResolver getNameResolver() { return ((DelegateNameResolver) ningRequest.getNameResolver()).getDelegate(); } @SuppressWarnings("unused")  ParsecAsyncHttpRequest(); private  ParsecAsyncHttpRequest(final Builder builder); }
ParsecAsyncHttpRequest { public ParsecNameResolver getNameResolver() { return ((DelegateNameResolver) ningRequest.getNameResolver()).getDelegate(); } @SuppressWarnings("unused")  ParsecAsyncHttpRequest(); private  ParsecAsyncHttpRequest(final Builder builder); @Override boolean equals(Object object); @Override int hashCode(); String getBody(); byte[] getBodyByte(); String getBodyEncoding(); long getContentLength(); Collection<NewCookie> getCookies(); Map<String, List<String>> getFormParams(); String getHeaderString(String headerKey); Map<String, List<String>> getHeaders(); int getMaxRetries(); String getMethod(); String getProxyServer(); Map<String, List<String>> getQueryParams(); long getRangeOffset(); int getRequestTimeout(); List<Integer> getRetryStatusCodes(); List<Class<? extends Throwable>> getRetryExceptions(); URI getUri(); String getUrl(); String getVirtualHost(); boolean isCriticalGet(); boolean isFollowRedirect(); boolean isAcceptCompression(); ParsecNameResolver getNameResolver(); }
ParsecAsyncHttpRequest { public ParsecNameResolver getNameResolver() { return ((DelegateNameResolver) ningRequest.getNameResolver()).getDelegate(); } @SuppressWarnings("unused")  ParsecAsyncHttpRequest(); private  ParsecAsyncHttpRequest(final Builder builder); @Override boolean equals(Object object); @Override int hashCode(); String getBody(); byte[] getBodyByte(); String getBodyEncoding(); long getContentLength(); Collection<NewCookie> getCookies(); Map<String, List<String>> getFormParams(); String getHeaderString(String headerKey); Map<String, List<String>> getHeaders(); int getMaxRetries(); String getMethod(); String getProxyServer(); Map<String, List<String>> getQueryParams(); long getRangeOffset(); int getRequestTimeout(); List<Integer> getRetryStatusCodes(); List<Class<? extends Throwable>> getRetryExceptions(); URI getUri(); String getUrl(); String getVirtualHost(); boolean isCriticalGet(); boolean isFollowRedirect(); boolean isAcceptCompression(); ParsecNameResolver getNameResolver();  }