Class SnapshotPageHeader
- java.lang.Object
-
- io.datareplication.model.snapshot.SnapshotPageHeader
-
- All Implemented Interfaces:
ToHttpHeaders
public final class SnapshotPageHeader extends java.lang.Object implements ToHttpHeaders
This class represents the headers of a snapshot page.
-
-
Constructor Summary
Constructors Constructor Description SnapshotPageHeader()
SnapshotPageHeader(@NonNull HttpHeaders extraHeaders)
Creates a newSnapshotPageHeader
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NonNull HttpHeaders
extraHeaders()
Additional unstructured headers.int
hashCode()
@NonNull HttpHeaders
toHttpHeaders()
Return HTTP headers for this object.java.lang.String
toString()
-
-
-
Constructor Detail
-
SnapshotPageHeader
public SnapshotPageHeader()
-
SnapshotPageHeader
public SnapshotPageHeader(@NonNull @NonNull HttpHeaders extraHeaders)
Creates a newSnapshotPageHeader
instance.- Parameters:
extraHeaders
- Additional unstructured headers.
-
-
Method Detail
-
toHttpHeaders
@NonNull public @NonNull HttpHeaders toHttpHeaders()
Description copied from interface:ToHttpHeaders
Return HTTP headers for this object.- Specified by:
toHttpHeaders
in interfaceToHttpHeaders
- Returns:
- HTTP headers associated with this object
-
extraHeaders
@NonNull public @NonNull HttpHeaders extraHeaders()
Additional unstructured headers.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-