/** * Gets whether date headers should be formatted according to the ISO 8601 * standard. */ public boolean isFormatDateHeadersToIso8601() { return getConfiguration().isFormatDateHeadersToIso8601(); }
@ManagedAttribute public boolean isFormatDateHeadersToIso8601() { return configuration.isFormatDateHeadersToIso8601(); }
return headerValue; } else if (headerValue instanceof Date) { if (this.endpoint.getConfiguration().isFormatDateHeadersToIso8601()) { return ZonedDateTime.ofInstant(((Date)headerValue).toInstant(), ZoneOffset.UTC).toString(); } else {