com.firenio.codec.http11.HttpStatic Maven / Gradle / Ivy
/*
* Copyright 2015 The FireNio Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.firenio.codec.http11;
/**
* @author wangkai
*/
public final class HttpStatic {
// public static final String application_js_utf8 = "application/x-javascript;charset=utf-8";
// public static final byte[] application_js_utf8_bytes = application_js_utf8.getBytes();
//
// public static final String application_json = "application/json";
// public static final byte[] application_json_bytes = application_json.getBytes();
//
// public static final String application_stream = "application/octet-stream";
// public static final byte[] application_stream_bytes = application_stream.getBytes();
//
// public static final String application_urlencoded = "application/x-www-form-urlencoded";
// public static final byte[] application_urlencoded_bytes = application_urlencoded.getBytes();
//
// public static final String image_gif = "image/gif";
// public static final byte[] image_gif_bytes = image_gif.getBytes();
//
// public static final String image_icon = "image/x-icon";
// public static final byte[] image_icon_bytes = image_icon.getBytes();
//
// public static final String image_jpeg = "image/jpeg";
// public static final byte[] image_jpeg_bytes = image_jpeg.getBytes();
//
// public static final String image_png = "image/png";
// public static final byte[] image_png_bytes = image_png.getBytes();
//
// public static final String multipart = "multipart/form-data";
// public static final byte[] multipart_bytes = multipart.getBytes();
//
public static final String server_firenio = "firenio";
public static final byte[] server_firenio_bytes = server_firenio.getBytes();
//
// public static final String text_css_utf8 = "text/css;charset=utf-8";
// public static final byte[] text_css_utf8_bytes = text_css_utf8.getBytes();
//
// public static final String text_html_utf8 = "text/html;charset=utf-8";
// public static final byte[] text_html_utf8_bytes = text_html_utf8.getBytes();
//
// public static final String text_plain = "text/plain";
// public static final byte[] text_plain_bytes = text_plain.getBytes();
//
// public static final String text_plain_gbk = "text/plain;charset=gbk";
// public static final byte[] text_plain_gbk_bytes = text_plain_gbk.getBytes();
//
// public static final String text_plain_utf8 = "text/plain;charset=utf-8";
// public static final byte[] text_plain_utf8_bytes = text_plain_utf8.getBytes();
//
// public static final String upgrade = "Upgrade";
// public static final byte[] upgrade_bytes = upgrade.getBytes();
//
public static final String websocket = "WebSocket";
public static final byte[] websocket_bytes = websocket.getBytes();
// public static final String = "";
// public static final byte[] _bytes = "".getBytes();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy