public final class DateHeader extends org.apache.http.message.BasicHeader
Equivalent to the following code:
Header h =
Constructor and Description |
---|
DateHeader(String name,
Date value)
Creates a date request property in RFC2616 format.
|
public DateHeader(String name, Date value)
name
- The header name.value
- The header value.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.