@Test public void testSetAndGetProxyServer() throws Exception { assertEquals(null, builder.build().getProxyServer()); ParsecAsyncHttpRequest request = builder .setProxyServer(ParsecNetProtocol.HTTPS, "url.for.testing.com", 4443) .build(); assertEquals("https: request = builder .setProxyServer(ParsecNetProtocol.HTTP, "url.for.testing.com", 4080) .build(); assertEquals("http: }
public String getProxyServer() { ProxyServer proxyServer = ningRequest.getProxyServer(); if (proxyServer == null) { return null; } return proxyServer.toString(); }
ParsecAsyncHttpRequest { public String getProxyServer() { ProxyServer proxyServer = ningRequest.getProxyServer(); if (proxyServer == null) { return null; } return proxyServer.toString(); } }
ParsecAsyncHttpRequest { public String getProxyServer() { ProxyServer proxyServer = ningRequest.getProxyServer(); if (proxyServer == null) { return null; } return proxyServer.toString(); } @SuppressWarnings("unused")  ParsecAsyncHttpRequest(); private  ParsecAsyncHttpRequest(final Builder builder); }
ParsecAsyncHttpRequest { public String getProxyServer() { ProxyServer proxyServer = ningRequest.getProxyServer(); if (proxyServer == null) { return null; } return proxyServer.toString(); } @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 String getProxyServer() { ProxyServer proxyServer = ningRequest.getProxyServer(); if (proxyServer == null) { return null; } return proxyServer.toString(); } @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();  }