org.zodiac.netty.http.headers.TimestampHeader Maven / Gradle / Ivy
package org.zodiac.netty.http.headers;
import java.time.Instant;
import java.time.temporal.Temporal;
/**
* Subtype of HeaderValueType instances which are convertible into an Instant.
*
*/
public interface TimestampHeader extends HeaderValueType {
/**
* Convert this header into one which accepts and returns Instant.
*
* @return An instant
*/
TimestampHeader toInstantHeader();
}