org.apache.manifoldcf.crawler.connectors.rss
Class ThrottledFetcher.DataSession
java.lang.Object
org.apache.manifoldcf.crawler.connectors.rss.ThrottledFetcher.DataSession
- Enclosing class:
- ThrottledFetcher
protected static class ThrottledFetcher.DataSession
- extends java.lang.Object
Helper class for the above
|
Method Summary |
void |
addHeader(java.lang.String headerName,
java.lang.String headerValue)
|
void |
endHeader()
|
void |
setResponseCode(int responseCode)
|
void |
write(byte[] theBytes,
int off,
int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dr
protected ThrottledFetcher.DataRecorder dr
url
protected java.lang.String url
responseCode
protected int responseCode
headerNames
protected java.util.ArrayList headerNames
headerValues
protected java.util.ArrayList headerValues
documentName
protected java.lang.String documentName
ThrottledFetcher.DataSession
public ThrottledFetcher.DataSession(ThrottledFetcher.DataRecorder dr,
java.lang.String url)
setResponseCode
public void setResponseCode(int responseCode)
addHeader
public void addHeader(java.lang.String headerName,
java.lang.String headerValue)
endHeader
public void endHeader()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
write
public void write(byte[] theBytes,
int off,
int length)
throws java.io.IOException
- Throws:
java.io.IOException