org.norther.tammi.spray.remote.chain
Class HttpRMIResponse
java.lang.Object
javax.servlet.ServletResponseWrapper
org.norther.tammi.spray.filter.chain.ServletResponseWrapper
org.norther.tammi.spray.filter.chain.HttpServletResponseWrapper
org.norther.tammi.spray.protocol.chain.AbstractProtocolResponse
org.norther.tammi.spray.protocol.chain.HttpProtocolResponse
org.norther.tammi.spray.remote.chain.HttpRMIResponse
- All Implemented Interfaces:
- EventListener, HttpServletResponse, ServletResponse, Poolable, Recyclable, FilterChainListener, Flushable
public class HttpRMIResponse
- extends HttpProtocolResponse
An HTTP response through an RMI connection.
- Author:
- Ilkka Priha
| Fields inherited from interface javax.servlet.http.HttpServletResponse |
SC_ACCEPTED, SC_BAD_GATEWAY, SC_BAD_REQUEST, SC_CONFLICT, SC_CONTINUE, SC_CREATED, SC_EXPECTATION_FAILED, SC_FORBIDDEN, SC_FOUND, SC_GATEWAY_TIMEOUT, SC_GONE, SC_HTTP_VERSION_NOT_SUPPORTED, SC_INTERNAL_SERVER_ERROR, SC_LENGTH_REQUIRED, SC_METHOD_NOT_ALLOWED, SC_MOVED_PERMANENTLY, SC_MOVED_TEMPORARILY, SC_MULTIPLE_CHOICES, SC_NO_CONTENT, SC_NON_AUTHORITATIVE_INFORMATION, SC_NOT_ACCEPTABLE, SC_NOT_FOUND, SC_NOT_IMPLEMENTED, SC_NOT_MODIFIED, SC_OK, SC_PARTIAL_CONTENT, SC_PAYMENT_REQUIRED, SC_PRECONDITION_FAILED, SC_PROXY_AUTHENTICATION_REQUIRED, SC_REQUEST_ENTITY_TOO_LARGE, SC_REQUEST_TIMEOUT, SC_REQUEST_URI_TOO_LONG, SC_REQUESTED_RANGE_NOT_SATISFIABLE, SC_RESET_CONTENT, SC_SEE_OTHER, SC_SERVICE_UNAVAILABLE, SC_SWITCHING_PROTOCOLS, SC_TEMPORARY_REDIRECT, SC_UNAUTHORIZED, SC_UNSUPPORTED_MEDIA_TYPE, SC_USE_PROXY |
|
Method Summary |
void |
dispose()
Disposes the object after use. |
void |
disposed()
A call back indicating that this instance is not needed any more and can
be disposed. |
void |
flushed(OutputStream output)
A callback for a flush. |
void |
recycle(HttpRMIClient rc)
Recycles a response. |
| Methods inherited from class org.norther.tammi.spray.protocol.chain.HttpProtocolResponse |
addCookie, addDateHeader, addHeader, addIntHeader, containsHeader, encodeRedirectUrl, encodeRedirectURL, encodeUrl, encodeURL, flushBuffer, getBufferSize, getHeaderMap, getOutputStream, getWriter, isCommitted, isWriterInUse, reset, resetBuffer, resetHeaders, sendError, sendError, sendRedirect, setBufferSize, setDateHeader, setHeader, setIntHeader, setStatus, setStatus |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpRMIResponse
public HttpRMIResponse(HttpRMIClient rc)
- Constructs a new response.
- Parameters:
rc - the remote client.
recycle
public void recycle(HttpRMIClient rc)
- Recycles a response.
- Parameters:
rc - the remote client.
dispose
public void dispose()
- Description copied from interface:
Recyclable
- Disposes the object after use. The method is called when the object is
returned to its pool. The dispose method must call its super.
- Specified by:
dispose in interface Recyclable- Overrides:
dispose in class HttpProtocolResponse
disposed
public void disposed()
- Description copied from interface:
Poolable
- A call back indicating that this instance is not needed any more and can
be disposed.
- Specified by:
disposed in interface Poolable- Overrides:
disposed in class ServletResponseWrapper
flushed
public void flushed(OutputStream output)
- Description copied from interface:
Flushable
- A callback for a flush.
- Specified by:
flushed in interface Flushable- Overrides:
flushed in class HttpProtocolResponse
- Parameters:
output - the flushed stream.
Copyright © 2004 The Norther Organization. All rights reserved.