public static class

JdkHttpTransport.LimitingInputStream

extends InputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ com.sforce.ws.transport.JdkHttpTransport.LimitingInputStream

Summary

[Expand]
Inherited Constants
From class java.io.InputStream
Fields
private InputStream in
private int maxSize
private int size
[Expand]
Inherited Fields
From class java.io.InputStream
Public Constructors
JdkHttpTransport.LimitingInputStream(int maxSize, InputStream in)
Public Methods
int available()
void close()
synchronized void mark(int readlimit)
boolean markSupported()
int read(byte[] b)
int read()
int read(byte[] b, int off, int len)
synchronized void reset()
long skip(long n)
[Expand]
Inherited Methods
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Fields

private InputStream in

private int maxSize

private int size

Public Constructors

public JdkHttpTransport.LimitingInputStream (int maxSize, InputStream in)

Parameters
maxSize
in

Public Methods

public int available ()

Throws
IOException

public void close ()

Throws
IOException

public synchronized void mark (int readlimit)

Parameters
readlimit

public boolean markSupported ()

public int read (byte[] b)

Parameters
b
Throws
IOException

public int read ()

Throws
IOException

public int read (byte[] b, int off, int len)

Parameters
b
off
len
Throws
IOException

public synchronized void reset ()

Throws
IOException

public long skip (long n)

Parameters
n
Throws
IOException