net.officefloor.plugin.socket.server.http.response
Interface HttpResponseWriterFactory

All Known Implementing Classes:
HttpResponseWriterFactoryImpl

public interface HttpResponseWriterFactory

Factory for the creation of a HttpResponseWriter.

Author:
Daniel Sagenschneider

Method Summary
 HttpResponseWriter createHttpResponseWriter(ServerHttpConnection connection)
          Creates the HttpResponseWriter for the ServerHttpConnection.
 

Method Detail

createHttpResponseWriter

HttpResponseWriter createHttpResponseWriter(ServerHttpConnection connection)
                                            throws IOException
Creates the HttpResponseWriter for the ServerHttpConnection.

Parameters:
connection - ServerHttpConnection.
Returns:
HttpResponseWriter for the ServerHttpConnection.
Throws:
IOException - If unable to provide HttpResponseWriter to write content similar to content already on the HttpResponse.


Copyright © 2005-2011. All Rights Reserved.