version 1.0

com.actimind.actiwate.http
Class MultipartPostRequest.MultipartParameter

java.lang.Object
  extended bycom.actimind.actiwate.http.PostRequest.Parameter
      extended bycom.actimind.actiwate.http.MultipartPostRequest.MultipartParameter
All Implemented Interfaces:
MultipartPostRequest.Part
Enclosing class:
MultipartPostRequest

public static class MultipartPostRequest.MultipartParameter
extends PostRequest.Parameter
implements MultipartPostRequest.Part


Constructor Summary
MultipartPostRequest.MultipartParameter(java.lang.String paramName, java.lang.String paramValue, org.apache.commons.httpclient.methods.multipart.FilePart file)
           
 
Method Summary
 java.lang.String getContentType()
          Returns the content type of the file part.
 org.apache.commons.httpclient.methods.multipart.FilePart getFilePart()
           
 boolean hasFile()
           
 
Methods inherited from class com.actimind.actiwate.http.PostRequest.Parameter
getName, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.actimind.actiwate.http.MultipartPostRequest.Part
getName, getValue
 

Constructor Detail

MultipartPostRequest.MultipartParameter

public MultipartPostRequest.MultipartParameter(java.lang.String paramName,
                                               java.lang.String paramValue,
                                               org.apache.commons.httpclient.methods.multipart.FilePart file)
Method Detail

getFilePart

public org.apache.commons.httpclient.methods.multipart.FilePart getFilePart()

hasFile

public boolean hasFile()

getContentType

public java.lang.String getContentType()
Description copied from interface: MultipartPostRequest.Part
Returns the content type of the file part. Null the part is not a file.

Specified by:
getContentType in interface MultipartPostRequest.Part


Copyright © 2007 Actimind, Inc. All Rights Reserved.