com.nutiteq.net
Interface DataPostingDownloadable

All Superinterfaces:
com.nutiteq.net.Downloadable

public interface DataPostingDownloadable
extends com.nutiteq.net.Downloadable

Interface for download objects that also need to send data to server. Data will be sent in request body.


Method Summary
 java.lang.String getContentType()
          Content type for sent data
 java.lang.String getPostContent()
          Get content that should be sent to server
 java.lang.String getRequestMethod()
          Set the method for the URL request.
 
Methods inherited from interface com.nutiteq.net.Downloadable
getUrl, notifyError
 

Method Detail

getPostContent

java.lang.String getPostContent()
Get content that should be sent to server

Returns:
content string

getContentType

java.lang.String getContentType()
Content type for sent data

Returns:
content type

getRequestMethod

java.lang.String getRequestMethod()
Set the method for the URL request. See HttpConnection for valid methods.

Returns:
request method