"Fossies" - the Fresh Open Source Software archive 
Member "rabbit4.11/htdocs/javadoc/rabbit/proxy/HttpHeaderFileHandler.html" of archive rabbit4.11-bin.tar.gz:
Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links.
Alternatively you can here view or download the uninterpreted source code.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
rabbit.proxy
Class HttpHeaderFileHandler
java.lang.Object
rabbit.proxy.HttpHeaderFileHandler
- All Implemented Interfaces:
- FileHandler<HttpHeader>
public class HttpHeaderFileHandler
- extends Object
- implements FileHandler<HttpHeader>
A FileHandler for HttpHeader
- Author:
- Robert Olofsson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpHeaderFileHandler
public HttpHeaderFileHandler()
read
public HttpHeader read(InputStream is)
throws IOException
- Description copied from interface:
FileHandler
- Read a T from the given stream.
- Specified by:
read in interface FileHandler<HttpHeader>
- Parameters:
is - the stream to read from
- Returns:
- the object read
- Throws:
IOException - if reading fails
write
public void write(OutputStream os,
HttpHeader t)
throws IOException
- Description copied from interface:
FileHandler
- Write a T to the given stream.
- Specified by:
write in interface FileHandler<HttpHeader>
- Parameters:
os - the stream to write the object tot - the object to write
- Throws:
IOException - if writing fails