Code example for Parcel

Methods: writeBundle, writeString

0
		mResponseText = source.readString();
	} 
	 
	@Override 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(mCode);
		dest.writeBundle(mHeaders);
		dest.writeString(mResponseText);
	} 
	 
	@Exclude 
	public static final Parcelable.Creator<NetHttpSendResult> CREATOR = new Parcelable.Creator<NetHttpSendResult>() {
        @Override 
        public NetHttpSendResult createFromParcel(Parcel source) { 
            return new NetHttpSendResult(source); 
        } 
        @Override 
        public NetHttpSendResult[] newArray(int size) { 
            return new NetHttpSendResult[size]; 
        } 
    };