Skip navigation links
oracle.stellent.ridc.protocol.http.apache4.obj
Class Apache4InputStreamBody
java.lang.Object
org.apache.http.entity.mime.content.AbstractContentBody
org.apache.http.entity.mime.content.InputStreamBody
oracle.stellent.ridc.protocol.http.apache4.obj.Apache4InputStreamBody
- All Implemented Interfaces:
- org.apache.http.entity.mime.content.ContentBody, org.apache.http.entity.mime.content.ContentDescriptor
-
public class Apache4InputStreamBody
- extends org.apache.http.entity.mime.content.InputStreamBody
Apache 4 implementation to stream files in a multipart post
Constructor Summary |
Apache4InputStreamBody(java.io.InputStream inputStream, java.lang.String contentType, java.lang.String fileName, java.lang.String encoding)
|
Methods inherited from class org.apache.http.entity.mime.content.InputStreamBody |
getCharset, getContentLength, getFilename, getInputStream, writeTo, writeTo |
Methods inherited from class org.apache.http.entity.mime.content.AbstractContentBody |
getMediaType, getMimeType, getSubType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Apache4InputStreamBody
public Apache4InputStreamBody(java.io.InputStream inputStream,
java.lang.String contentType,
java.lang.String fileName,
java.lang.String encoding)
getTransferEncoding
public java.lang.String getTransferEncoding()
-
- Specified by:
getTransferEncoding
in interface org.apache.http.entity.mime.content.ContentDescriptor
- Overrides:
getTransferEncoding
in class org.apache.http.entity.mime.content.InputStreamBody
Skip navigation links
Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.