Package | Description |
---|---|
org.apache.nutch.protocol |
Classes related to the
Protocol interface,
see also org.apache.nutch.net.protocols . |
org.apache.nutch.storage |
Representation (
web pages ,
host metadata ) of data in abstracted storage. |
Modifier and Type | Field and Description |
---|---|
static ProtocolStatus |
ProtocolStatusUtils.STATUS_BLOCKED |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_FAILED |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_GONE |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_NOTFETCHING |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_NOTFOUND |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_NOTMODIFIED |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_REDIR_EXCEEDED |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_RETRY |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_ROBOTS_DENIED |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_SUCCESS |
static ProtocolStatus |
ProtocolStatusUtils.STATUS_WOULDBLOCK |
Modifier and Type | Method and Description |
---|---|
ProtocolStatus |
ProtocolOutput.getStatus() |
static ProtocolStatus |
ProtocolStatusUtils.makeStatus(int code) |
static ProtocolStatus |
ProtocolStatusUtils.makeStatus(int code,
String message) |
static ProtocolStatus |
ProtocolStatusUtils.makeStatus(int code,
URL url) |
Modifier and Type | Method and Description |
---|---|
static String |
ProtocolStatusUtils.getMessage(ProtocolStatus pstatus) |
void |
ProtocolOutput.setStatus(ProtocolStatus status) |
static String |
ProtocolStatusUtils.toString(ProtocolStatus status) |
Constructor and Description |
---|
ProtocolOutput(Content content,
ProtocolStatus status) |
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolStatus.Tombstone |
Modifier and Type | Method and Description |
---|---|
ProtocolStatus |
ProtocolStatus.Builder.build() |
ProtocolStatus |
WebPage.getProtocolStatus()
Gets the value of the 'protocolStatus' field.
|
ProtocolStatus |
WebPage.Builder.getProtocolStatus()
Gets the value of the 'protocolStatus' field
|
ProtocolStatus |
WebPage.Tombstone.getProtocolStatus()
Gets the value of the 'protocolStatus' field.
|
ProtocolStatus |
ProtocolStatus.newInstance() |
Modifier and Type | Method and Description |
---|---|
boolean |
WebPage.isProtocolStatusDirty(ProtocolStatus value)
Checks the dirty status of the 'protocolStatus' field.
|
boolean |
WebPage.Tombstone.isProtocolStatusDirty(ProtocolStatus value)
Checks the dirty status of the 'protocolStatus' field.
|
static ProtocolStatus.Builder |
ProtocolStatus.newBuilder(ProtocolStatus other)
Creates a new ProtocolStatus RecordBuilder by copying an existing
ProtocolStatus instance
|
void |
WebPage.setProtocolStatus(ProtocolStatus value)
Sets the value of the 'protocolStatus' field.
|
WebPage.Builder |
WebPage.Builder.setProtocolStatus(ProtocolStatus value)
Sets the value of the 'protocolStatus' field
|
void |
WebPage.Tombstone.setProtocolStatus(ProtocolStatus value)
Sets the value of the 'protocolStatus' field.
|
Copyright © 2015 The Apache Software Foundation