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 ContentTypecontentType()booleanequals(java.lang.Object o)inthashCode()@NonNull FeedPageHeaderheader()@NonNull HttpHeaderstoHttpHeaders()Return HTTP headers for this object.java.lang.StringtoString()
-
-
-
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:ToHttpHeadersReturn HTTP headers for this object.- Specified by:
toHttpHeadersin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-