com.norconex.collector.http.handler
Interface IHttpHeadersFetcher
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- SimpleHttpHeadersFetcher
public interface IHttpHeadersFetcher
- extends Serializable
Fetches the HTTP Header, typically via a HEAD request.
- Author:
- Pascal Essiembre
Method Summary |
Properties |
fetchHTTPHeaders(org.apache.http.impl.client.DefaultHttpClient httpClient,
String url)
Returning null means the headers could not be fetched
and the associated document will be skipped (treated as rejected). |
fetchHTTPHeaders
Properties fetchHTTPHeaders(org.apache.http.impl.client.DefaultHttpClient httpClient,
String url)
- Returning
null
means the headers could not be fetched
and the associated document will be skipped (treated as rejected).
- Parameters:
httpClient
- the HTTP Clienturl
- the url from which to fetch the headers
- Returns:
- HTTP headers as metadata
Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.