* @param context The associated MessageContext.
* @return the context that will be used to obtain the OutputStream
*/
public OutputStreamMessageContext createOutputStreamContext(MessageContext context)
throws IOException {
return new AbstractHTTPServerOutputStreamContext(this, context) {
protected void flushHeaders() throws IOException {
HttpServletResponse response =
(HttpServletResponse)get(HTTPServerInputStreamContext.HTTP_RESPONSE);
Integer i = (Integer)context.get(HTTP_RESPONSE_CODE);