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

com.firenio.codec.http11.HttpStatic Maven / Gradle / Ivy

There is a newer version: 1.3.6
Show newest version
/*
 * 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.readBytes();
    //
    //    public static final String application_json             = "application/json";
    //    public static final byte[] application_json_bytes       = application_json.readBytes();
    //
    //    public static final String application_stream           = "application/octet-stream";
    //    public static final byte[] application_stream_bytes     = application_stream.readBytes();
    //
    //    public static final String application_urlencoded       = "application/x-www-form-urlencoded";
    //    public static final byte[] application_urlencoded_bytes = application_urlencoded.readBytes();
    //
    //    public static final String image_gif                    = "image/gif";
    //    public static final byte[] image_gif_bytes              = image_gif.readBytes();
    //
    //    public static final String image_icon                   = "image/x-icon";
    //    public static final byte[] image_icon_bytes             = image_icon.readBytes();
    //
    //    public static final String image_jpeg                   = "image/jpeg";
    //    public static final byte[] image_jpeg_bytes             = image_jpeg.readBytes();
    //
    //    public static final String image_png                    = "image/png";
    //    public static final byte[] image_png_bytes              = image_png.readBytes();
    //
    //    public static final String multipart                    = "multipart/form-data";
    //    public static final byte[] multipart_bytes              = multipart.readBytes();
    //
    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.readBytes();
    //
    //    public static final String text_html_utf8               = "text/html;charset=utf-8";
    //    public static final byte[] text_html_utf8_bytes         = text_html_utf8.readBytes();
    //
    //    public static final String text_plain                   = "text/plain";
    //    public static final byte[] text_plain_bytes             = text_plain.readBytes();
    //
    //    public static final String text_plain_gbk               = "text/plain;charset=gbk";
    //    public static final byte[] text_plain_gbk_bytes         = text_plain_gbk.readBytes();
    //
    //    public static final String text_plain_utf8              = "text/plain;charset=utf-8";
    //    public static final byte[] text_plain_utf8_bytes        = text_plain_utf8.readBytes();
    //
    //    public static final String upgrade                      = "Upgrade";
    //    public static final byte[] upgrade_bytes                = upgrade.readBytes();
    //
    public static final String websocket            = "WebSocket";
    public static final byte[] websocket_bytes      = websocket.getBytes();

    //    public static final String = "";
    //    public static final byte[]  _bytes = "".readBytes();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy