Package io.datareplication.producer.feed
Class FeedPageProvider.HeaderAndContentType
- java.lang.Object
-
- io.datareplication.producer.feed.FeedPageProvider.HeaderAndContentType
-
- All Implemented Interfaces:
ToHttpHeaders
- Enclosing interface:
- FeedPageProvider
public static final class FeedPageProvider.HeaderAndContentType extends java.lang.Object implements ToHttpHeaders
-
-
Constructor Summary
Constructors Constructor Description HeaderAndContentType(@NonNull FeedPageHeader header, @NonNull ContentType contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ContentType
contentType()
boolean
equals(java.lang.Object o)
int
hashCode()
@NonNull FeedPageHeader
header()
@NonNull HttpHeaders
toHttpHeaders()
Return HTTP headers for this object.java.lang.String
toString()
-
-
-
Constructor Detail
-
HeaderAndContentType
public HeaderAndContentType(@NonNull @NonNull FeedPageHeader header, @NonNull @NonNull ContentType contentType)
-
-
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
-
header
@NonNull public @NonNull FeedPageHeader header()
-
contentType
@NonNull public @NonNull ContentType contentType()
-
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
-
-