com.sun.grizzly.container
Class GrizzletResponse

java.lang.Object
  extended by com.sun.grizzly.tcp.http11.GrizzlyResponse
      extended by com.sun.grizzly.container.GrizzletResponse

public class GrizzletResponse
extends GrizzlyResponse

This class represents an asynchronous response.

Author:
Jeanfrancois Arcand

Field Summary
 
Fields inherited from class com.sun.grizzly.tcp.http11.GrizzlyResponse
appCommitted, cookies, error, format, included, info, outputBuffer, outputStream, redirectURLCC, request, response, sm, urlEncoder, usingOutputStream, usingWriter, writer
 
Constructor Summary
GrizzletResponse(Response response)
           
 
Method Summary
 void finish()
           
 void flush()
           
 void setMessage(String message)
           
 void write(String s)
           
 
Methods inherited from class com.sun.grizzly.tcp.http11.GrizzlyResponse
addCookie, addDateHeader, addHeader, addIntHeader, containsHeader, createOutputStream, enableCache, encodeURL, finishResponse, flushBuffer, getBufferSize, getCharacterEncoding, getContentCount, getContentLength, getContentType, getCookies, getDetailMessage, getHeader, getHeaderNames, getHeaderValues, getIncluded, getInfo, getLocale, getMessage, getOutputBuffer, getOutputStream, getReporter, getRequest, getResponse, getStatus, getStream, getWriter, isAppCommitted, isCacheEnabled, isCommitted, isEncodeable, isError, isSuspended, recycle, reset, reset, resetBuffer, sendAcknowledgement, sendError, sendError, sendRedirect, setAppCommitted, setBufferSize, setCharacterEncoding, setContentLength, setContentLengthLong, setContentType, setDateHeader, setDetailMessage, setError, setHeader, setIncluded, setIntHeader, setLocale, setRequest, setResponse, setStatus, setStatus, setStream, setSuspended, toAbsolute, toEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzletResponse

public GrizzletResponse(Response response)
Method Detail

setMessage

public void setMessage(String message)

finish

public void finish()
            throws IOException
Throws:
IOException

write

public void write(String s)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException


Copyright © 2008 SUN Microsystems. All Rights Reserved.