⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wapconstainer.java

📁 封装了SQL、Socket、WAP、MIME等功能的通用组件
💻 JAVA
字号:
package org.lazybug.wap;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: Kehaoinfo</p>
 *
 * @author David Lau
 * @version 1.0
 */
public interface WAPConstainer
{
    public String WAP_STATUS[] ={
        "UNKNOWN-WTP-ABORT", "PROTOERR-WTP-ABORT", "INVALIDTID-WTP-ABORT", "NOTIMPLEMENTEDCL2-WTP-ABORT", "NOTIMPLEMENTEDSAR-WTP-ABORT", "NOTIMPLEMENTEDUACK-WTP-ABORT", "WTPVERSIONONE-WTP-ABORT", "CAPTEMPEXCEEDED-WTP-ABORT", //0x00
        "NORESPONSE-WTP-ABORT", "MESSAGETOOLARGE-WTP-ABORT", "", "", "", "", "", "", //0x08
/*0x10*/"100 Continue", "101 Switching Protocols", "", "", "", "", "", "", //0x10
        "", "", "", "", "", "", "", "", //0x18
/*0x20*/"200 OK, Success", "201 Created", "202 Accepted", "203 Non Authoritative Information", "204 No Content", "205 Reset Content", "206 Partial Content", "", //0x20
        "", "", "", "", "", "", "", "", //0x28
/*0x30*/"300 Multiple Choices", "301 Moved Permanently", "302 Moved temporarily", "303 See Other", "304 Not modified", "305 Use Proxy", "306 reserved", "307 Temporary Redirect", //0x30
        "", "", "", "", "", "", "", "", //0x38
/*0x40*/"400 Bad Request-server could not understand request", "401 Unauthorized", "402 Payment required", "403 Forbidden–operation is understood but refused", "404  Not Found", "405 Method not allowed", "406 Not Acceptable", "407 Proxy Authentication required", //0x40
/*0x48*/"408 Request Timeout", "409 Conflict", "410 Gone", "411 Length Required", "412 Precondition failed", "413 Request entity too large", "414 Request-URI too large", "415 Unsupported media type", //0x48
/*0x50*/"416 Requested Range Not Satisfiable", "417 Expectation Failed", "", "", "", "", "", "", //0x50
        "", "", "", "", "", "", "", "", //0x58
/*0x60*/"500 Internal Server Error", "501 Not Implemented", "502 Bad Gateway", "503 Service Unavailable", "504 Gateway Timeout", "505 HTTP version not supported", "", "", //0x60
        "", "", "", "", "", "", "", "", //0x68
        "", "", "", "", "", "", "", "", //0x70
        "", "", "", "", "", "", "", "", //0x78
/*0x80*/"Status Ok", "Error Unspecified", "Error Service Denied", "Error Message Format Corrupt", "Error Sending Address Unresolved", "MMS-Response-Error-Message-Not-Found", "MMS-Response-Error-Network-Problem", "MMS-Response-Error-Content-Not-Accepted", //0x80
/*0x88*/"Error Unsupported Message", "", "", "", "", "", "", "", //0x88
        "", "", "", "", "", "", "", "", //0x90
        "", "", "", "", "", "", "", "", //0x98
        "", "", "", "", "", "", "", "", //0xA0
        "", "", "", "", "", "", "", "", //0xA8
        "", "", "", "", "", "", "", "", //0xB0
        "", "", "", "", "", "", "", "", //0xB8
        "", "", "", "", "", "", "", "", //0xC0
        "", "", "", "", "", "", "", "", //0xC8
        "", "", "", "", "", "", "", "", //0xD0
        "", "", "", "", "", "", "", "", //0xD8
/*0xE0*/"PROTOERR-WSP-ABORT", "DISCONNECT-WSP-ABORT", "SUSPEND-WSP-ABORT", "RESUME-WSP-ABORT", "CONGESTION-WSP-ABORT", "CONNECTERR-WSP-ABORT", "MRUEXCEEDED-WSP-ABORT", "MOREXCEEDED-WSP-ABORT", //0xE0
/*0xE8*/"PEERREQ-WSP-ABORT", "NETERR-WSP-ABORT", "USERREQ-WSP-ABORT", "USERRFS-WSP-ABORT", "USERPND-WSP-ABORT", "USERDCR-WSP-ABORT", "USERDCU-WSP-ABORT", "", //0xE8
/*0xE0"Protocol error, illegal PDU received", "Session has been disconnected", "Session has been suspended", "Session has been resumed", "The peer is congested and can not process the SDU", "The session connect failed", "The Maximum Receive Unit size was exceeded", "The Maximum Outstanding Requests was exceeded", */
/*0xE8"Peer request", "Network error", "User request", "User refused Push message. No specific cause, no retries", "Push message cannot be delivered to intended destination", "Push message discarded due to resource shortage", "Content type of Push message cannot be processed", "",*/
        "", "", "", "", "", "", "", "", //0xF0
        "", "", "", "", "", "", "", "", //0xF8
    };
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -