net.sourceforge.jwap.wsp.pdu
Class CWSPConnect

java.lang.Object
  |
  +--net.sourceforge.jwap.wsp.pdu.CWSPPDU
        |
        +--net.sourceforge.jwap.wsp.pdu.CWSPConnect

public class CWSPConnect
extends CWSPPDU


Fields inherited from class net.sourceforge.jwap.wsp.pdu.CWSPPDU
PDU_TYPE_CONFIRMEDPUSH, PDU_TYPE_CONNECT, PDU_TYPE_CONNECTREPLY, PDU_TYPE_DATA_FRAGMENT, PDU_TYPE_DISCONNECT, PDU_TYPE_GET, PDU_TYPE_GET_DELETE, PDU_TYPE_GET_HEAD, PDU_TYPE_GET_OPTIONS, PDU_TYPE_GET_TRACE, PDU_TYPE_POST, PDU_TYPE_POST_PUT, PDU_TYPE_PUSH, PDU_TYPE_REDIRECT, PDU_TYPE_REPLY, PDU_TYPE_RESUME, PDU_TYPE_SUSPEND
 
Constructor Summary
CWSPConnect()
           
 
Method Summary
 short getVersion()
           
 void setVersion(short version)
           
 byte[] toByteArray()
          Encodes the PDU according to WAP-230-WSP-20010705-A.
 
Methods inherited from class net.sourceforge.jwap.wsp.pdu.CWSPPDU
equals, getCapabilities, getContentType, getHeaders, getPayload, getPDU, getType, setCapabilities, setHeaders, setPayload, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CWSPConnect

public CWSPConnect()
Method Detail

toByteArray

public byte[] toByteArray()
Description copied from class: CWSPPDU
Encodes the PDU according to WAP-230-WSP-20010705-A. See www.wapforum.org for more information.
Overrides:
toByteArray in class CWSPPDU

getVersion

public short getVersion()

setVersion

public void setVersion(short version)