/** * Adds a response header with the given name and value. This method allows response headers to have multiple values. **/ public void addDateHeader( String name, long value ) { addHeader( name, asDateHeaderValue( value ) ); }
/** * Adds a response header with the given name and value. This method allows response headers to have multiple values. **/ public void addDateHeader( String name, long value ) { addHeader( name, asDateHeaderValue( value ) ); }
/** * Adds a field to the response header with the given name and * date-valued field. The date is specified in terms of * milliseconds since the epoch. If the date field had already * been set, the new value overwrites the previous one. The * <code>containsHeader</code> method can be used to test for the * presence of a header before setting its value. **/ public void setDateHeader( String name, long date ) { setHeader( name, asDateHeaderValue( date ) ); }
/** * Adds a field to the response header with the given name and * date-valued field. The date is specified in terms of * milliseconds since the epoch. If the date field had already * been set, the new value overwrites the previous one. The * <code>containsHeader</code> method can be used to test for the * presence of a header before setting its value. **/ public void setDateHeader( String name, long date ) { setHeader( name, asDateHeaderValue( date ) ); }
/** * Adds a field to the response header with the given name and * date-valued field. The date is specified in terms of * milliseconds since the epoch. If the date field had already * been set, the new value overwrites the previous one. The * <code>containsHeader</code> method can be used to test for the * presence of a header before setting its value. **/ public void setDateHeader( String name, long date ) { setHeader( name, asDateHeaderValue( date ) ); }
/** * Adds a response header with the given name and value. This method allows response headers to have multiple values. **/ public void addDateHeader( String name, long value ) { addHeader( name, asDateHeaderValue( value ) ); }