Class SnapshotEntityHeader
- java.lang.Object
-
- io.datareplication.model.snapshot.SnapshotEntityHeader
-
- All Implemented Interfaces:
ToHttpHeaders
public final class SnapshotEntityHeader extends java.lang.Object implements ToHttpHeaders
This class represents the headers of a snapshot entity.
-
-
Constructor Summary
Constructors Constructor Description SnapshotEntityHeader()SnapshotEntityHeader(@NonNull HttpHeaders extraHeaders)Creates a newSnapshotEntityHeaderinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NonNull HttpHeadersextraHeaders()Additional unstructured headers.inthashCode()@NonNull HttpHeaderstoHttpHeaders()Return HTTP headers for this object.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SnapshotEntityHeader
public SnapshotEntityHeader()
-
SnapshotEntityHeader
public SnapshotEntityHeader(@NonNull @NonNull HttpHeaders extraHeaders)Creates a newSnapshotEntityHeaderinstance.- Parameters:
extraHeaders- Additional unstructured headers.
-
-
Method Detail
-
toHttpHeaders
@NonNull public @NonNull HttpHeaders toHttpHeaders()
Description copied from interface:ToHttpHeadersReturn HTTP headers for this object.- Specified by:
toHttpHeadersin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-