Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


oracle.stellent.ridc.protocol.http.apache4.obj
Class Apache4InputStreamBody

java.lang.Object
  extended by org.apache.http.entity.mime.content.AbstractContentBody
      extended by org.apache.http.entity.mime.content.InputStreamBody
          extended by 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)
           

 

Method Summary
 java.lang.String getTransferEncoding()
           

 

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

 

Constructor Detail

Apache4InputStreamBody

public Apache4InputStreamBody(java.io.InputStream inputStream,
                              java.lang.String contentType,
                              java.lang.String fileName,
                              java.lang.String encoding)

Method Detail

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

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.