类的使用
net.jlxxw.http.spider.proxy.ProxyRestTemplateObject
使用ProxyRestTemplateObject的程序包
-
net.jlxxw.http.spider.configuration中ProxyRestTemplateObject的使用
修饰符和类型方法说明HttpSpiderAutoConfiguration.spiderProxyRestTemplateObject(RestTemplateProperties restTemplateProperties, AbstractProxyHostProducer abstractProxyHostProducer, AbstractCookieStore abstractCookieStore) -
net.jlxxw.http.spider.proxy中ProxyRestTemplateObject的使用
修饰符和类型方法说明ProxyRestTemplatePool.borrow()自旋获取对象ProxyRestTemplateFactory.create()Creates an object instance, to be wrapped in aPooledObject.返回变量类型为ProxyRestTemplateObject的类型的net.jlxxw.http.spider.proxy中的方法修饰符和类型方法说明org.apache.commons.pool2.PooledObject<ProxyRestTemplateObject>ProxyRestTemplateFactory.wrap(ProxyRestTemplateObject obj) Wrap the provided instance with an implementation ofPooledObject.修饰符和类型方法说明org.apache.commons.pool2.PooledObject<ProxyRestTemplateObject>ProxyRestTemplateFactory.wrap(ProxyRestTemplateObject obj) Wrap the provided instance with an implementation ofPooledObject.类型变量类型为ProxyRestTemplateObject的net.jlxxw.http.spider.proxy中的方法参数修饰符和类型方法说明booleanProxyRestTemplateFactory.validateObject(org.apache.commons.pool2.PooledObject<ProxyRestTemplateObject> p) This implementation always returnstrue. -
net.jlxxw.http.spider.util中ProxyRestTemplateObject的使用
修饰符和类型方法说明static <T> org.springframework.http.ResponseEntity<T>HttpUtils.exchange(ProxyRestTemplateObject object, String url, org.springframework.http.HttpMethod method, org.springframework.http.HttpEntity<?> requestEntity, Class<T> responseType) http get 请求static <T> THttpUtils.execute(ProxyRestTemplateObject object, String url, org.springframework.http.HttpMethod method, org.springframework.web.client.RequestCallback requestCallback, org.springframework.web.client.ResponseExtractor<T> responseExtractor)