net.sourceforge.jwap.wsp.pdu
Class CWSPPush

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

public class CWSPPush
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
CWSPPush()
           
CWSPPush(byte[] data, java.lang.String contentType)
           
 
Method Summary
 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

CWSPPush

public CWSPPush()

CWSPPush

public CWSPPush(byte[] data,
                java.lang.String contentType)
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