public class HttpUtils extends Object
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setContentTypeHeader(io.netty.handler.codec.http.HttpResponse response,
MediaType type)
Sets the content type header for the HTTP Response
|
public static void setContentTypeHeader(io.netty.handler.codec.http.HttpResponse response,
MediaType type)
response - type - content type of file to extractCopyright © 2017 Space Applications Services. All rights reserved.