public final class ReceivedHeaderStream extends FilterInputStream
in| Constructor and Description |
|---|
ReceivedHeaderStream(InputStream in,
Optional<String> heloHost,
InetAddress host,
String whoami,
Optional<String> softwareName,
String id,
Optional<String> singleRecipient) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public ReceivedHeaderStream(InputStream in, Optional<String> heloHost, InetAddress host, String whoami, Optional<String> softwareName, String id, Optional<String> singleRecipient)
in - heloHost - host - whoami - softwareName - id - singleRecipient - public int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic boolean markSupported()
markSupported in class FilterInputStreampublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionCopyright © 2006–2024. All rights reserved.