r01f.httpclient
Class HttpRequestBinaryParameter

java.lang.Object
  extended by r01f.httpclient.HttpRequestBinaryParameter
All Implemented Interfaces:
HttpRequestParameter

public class HttpRequestBinaryParameter
extends java.lang.Object
implements HttpRequestParameter


Field Summary
private  java.io.InputStream binarySrc
           
private  java.lang.String name
           
 
Constructor Summary
HttpRequestBinaryParameter(java.lang.String newName, java.io.InputStream newBinarySrc)
           
 
Method Summary
 java.io.InputStream getInputStream(java.nio.charset.Charset charset)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

binarySrc

private java.io.InputStream binarySrc
Constructor Detail

HttpRequestBinaryParameter

public HttpRequestBinaryParameter(java.lang.String newName,
                                  java.io.InputStream newBinarySrc)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface HttpRequestParameter

getInputStream

public java.io.InputStream getInputStream(java.nio.charset.Charset charset)
Specified by:
getInputStream in interface HttpRequestParameter