Package org.zaproxy.zap.view.table
Class AbstractHistoryReferencesTableEntry
- java.lang.Object
-
- org.zaproxy.zap.view.table.AbstractHistoryReferencesTableEntry
-
- All Implemented Interfaces:
HistoryReferencesTableEntry
- Direct Known Subclasses:
DefaultHistoryReferencesTableEntry
public abstract class AbstractHistoryReferencesTableEntry extends java.lang.Object implements HistoryReferencesTableEntry
An abstract implementation ofHistoryReferencesTableEntry
.Returns default values except for history reference, which returns the
HistoryReference
passed in the constructor.
-
-
Constructor Summary
Constructors Constructor Description AbstractHistoryReferencesTableEntry(HistoryReference historyReference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<?>
getColumnClass(HistoryReferencesTableModel.Column column)
AlertRiskTableCellItem
getHighestAlert()
java.lang.Integer
getHistoryId()
HistoryReference
getHistoryReference()
Returns theHistoryReference
of the table entry.java.lang.Integer
getHistoryType()
HrefTypeInfo
getHistoryTypeInfo()
java.lang.String
getHostName()
java.lang.Long
getMessageSize()
java.lang.String
getMethod()
java.lang.String
getPathAndQuery()
static java.lang.Object
getPlaceHolderValue(HistoryReferencesTableModel.Column column)
static java.lang.Object
getPrototypeValue(HistoryReferencesTableModel.Column column)
java.lang.String
getReason()
java.lang.Integer
getRequestBodySize()
java.lang.Integer
getRequestHeaderSize()
java.util.Date
getRequestTimestamp()
java.lang.Integer
getResponseBodySize()
java.lang.Integer
getResponseHeaderSize()
java.util.Date
getResponseTimestamp()
java.lang.Integer
getRtt()
java.lang.Long
getSessionId()
java.lang.Integer
getStatusCode()
java.lang.String
getTags()
java.lang.String
getUri()
java.lang.Object
getValue(HistoryReferencesTableModel.Column column)
Returns the value of the entry for the givencolumn
.java.lang.Boolean
hasNote()
-
-
-
Constructor Detail
-
AbstractHistoryReferencesTableEntry
public AbstractHistoryReferencesTableEntry(HistoryReference historyReference)
-
-
Method Detail
-
getHistoryReference
public HistoryReference getHistoryReference()
Description copied from interface:HistoryReferencesTableEntry
Returns theHistoryReference
of the table entry.- Specified by:
getHistoryReference
in interfaceHistoryReferencesTableEntry
- Returns:
- the
HistoryReference
of the table entry - See Also:
HistoryReference
-
getHistoryId
public java.lang.Integer getHistoryId()
-
getHistoryType
public java.lang.Integer getHistoryType()
-
getHistoryTypeInfo
public HrefTypeInfo getHistoryTypeInfo()
-
getSessionId
public java.lang.Long getSessionId()
-
getMethod
public java.lang.String getMethod()
-
getUri
public java.lang.String getUri()
-
getHostName
public java.lang.String getHostName()
-
getPathAndQuery
public java.lang.String getPathAndQuery()
-
getStatusCode
public java.lang.Integer getStatusCode()
-
getReason
public java.lang.String getReason()
-
getRequestTimestamp
public java.util.Date getRequestTimestamp()
-
getResponseTimestamp
public java.util.Date getResponseTimestamp()
-
getRtt
public java.lang.Integer getRtt()
-
getMessageSize
public java.lang.Long getMessageSize()
-
getRequestHeaderSize
public java.lang.Integer getRequestHeaderSize()
-
getRequestBodySize
public java.lang.Integer getRequestBodySize()
-
getResponseHeaderSize
public java.lang.Integer getResponseHeaderSize()
-
getResponseBodySize
public java.lang.Integer getResponseBodySize()
-
getHighestAlert
public AlertRiskTableCellItem getHighestAlert()
-
hasNote
public java.lang.Boolean hasNote()
-
getTags
public java.lang.String getTags()
-
getValue
public java.lang.Object getValue(HistoryReferencesTableModel.Column column)
Description copied from interface:HistoryReferencesTableEntry
Returns the value of the entry for the givencolumn
.- Specified by:
getValue
in interfaceHistoryReferencesTableEntry
- Parameters:
column
- the column whose entry value will be returned- Returns:
- the value of the entry for the given
column
-
getPrototypeValue
public static java.lang.Object getPrototypeValue(HistoryReferencesTableModel.Column column)
-
getColumnClass
public static java.lang.Class<?> getColumnClass(HistoryReferencesTableModel.Column column)
-
getPlaceHolderValue
public static java.lang.Object getPlaceHolderValue(HistoryReferencesTableModel.Column column)
-
-