public class RouteHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_DATE_FORMAT |
static String |
HTTP_DATE_GMT_TIMEZONE |
| Constructor and Description |
|---|
RouteHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
setDateAndCacheHeaders(io.netty.handler.codec.http.HttpResponse response,
Date lastModified)
Sets the Date and Cache headers for the HTTP Response
|
protected static void |
setDateHeader(io.netty.handler.codec.http.HttpResponse response)
Sets the Date header for the HTTP response
|
public static final String HTTP_DATE_FORMAT
public static final String HTTP_DATE_GMT_TIMEZONE
protected static void setDateHeader(io.netty.handler.codec.http.HttpResponse response)
protected static void setDateAndCacheHeaders(io.netty.handler.codec.http.HttpResponse response,
Date lastModified)
lastModified - the time when the file has been last mdifiedCopyright © 2018 Space Applications Services. All rights reserved.