All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.servlet.HttpConstants Maven / Gradle / Ivy

Go to download

DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript. It gets rid of almost all the boiler plate code between the web browser and your Java code.

The newest version!
package org.directwebremoting.servlet;

/**
 * Various constant for dealing with HTTP traffic.
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
public interface HttpConstants
{
    /**
     * HTTP etag header
     */
    public static final String HEADER_ETAG = "ETag";

    /**
     * HTTP etag equivalent of HEADER_IF_MODIFIED
     */
    public static final String HEADER_IF_NONE = "If-None-Match";

    /**
     * HTTP header for when a file was last modified
     */
    public static final String HEADER_LAST_MODIFIED = "Last-Modified";

    /**
     * HTTP header to request only modified data
     */
    public static final String HEADER_IF_MODIFIED = "If-Modified-Since";

    /**
     * The name of the user agent HTTP header
     */
    public static final String HEADER_USER_AGENT = "User-Agent";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy