rabbit.proxy
Class HttpHeaderFileHandler

java.lang.Object
  extended by rabbit.proxy.HttpHeaderFileHandler
All Implemented Interfaces:
FileHandler<HttpHeader>

public class HttpHeaderFileHandler
extends Object
implements FileHandler<HttpHeader>

A FileHandler for HttpHeader

Author:
Robert Olofsson

Constructor Summary
HttpHeaderFileHandler()
           
 
Method Summary
 HttpHeader read(InputStream is)
          Read a T from the given stream
 void write(OutputStream os, HttpHeader t)
          Write a T to the given stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHeaderFileHandler

public HttpHeaderFileHandler()
Method Detail

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>
Throws:
IOException

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>
Throws:
IOException