public class FtpResponse extends Object
Constructor and Description |
---|
FtpResponse(URL url,
CrawlDatum datum,
Ftp ftp,
Configuration conf) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the response code.
|
byte[] |
getContent() |
String |
getHeader(String name)
Returns the value of a named header.
|
Content |
toContent() |
public FtpResponse(URL url, CrawlDatum datum, Ftp ftp, Configuration conf) throws FtpException, IOException
FtpException
IOException
Copyright © 2021 The Apache Software Foundation