abstractpublic class AbstractResponse implements Response(Code)
This abstract class implements parts of the
Response interface to
provide behaviour that is specific to RIFE.
Additional abstract methods have been provided to integrate with the
concrete back-end classes that extend AbstractResponse.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.1
Constructor Summary
protected
AbstractResponse(Request request, boolean embedded) Constructor that needs to be called by all the constructors of the
extending classes.
_getCharacterEncoding() This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour.
_getOutputStream() This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour.
abstractprotected void
_sendRedirect(String location) This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour.
abstractprotected void
_setContentLength(int length) This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour.
abstractprotected void
_setContentType(String contentType) This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour.
Constructor that needs to be called by all the constructors of the
extending classes.
Parameters: request - the Request that is associated with thisresponse Parameters: embedded - true if the response is embedded; or
This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour. It behaves exactly like its
Response.getCharacterEncoding counter-part in the Response interface .
See Also:Response.getCharacterEncoding since: 1.1
This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour. It behaves exactly like its
Response.getOutputStream counter-part in the Request interface .
See Also:Response.getOutputStream since: 1.1
This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour. It behaves exactly like its
Response.sendRedirect(String) counter-part in the Response interface .
See Also:Response.sendRedirect(String) since: 1.1
This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour. It behaves exactly like its
Response.setContentLength(int) counter-part in the Response interface .
See Also:Response.setContentLength(int) since: 1.1
This method needs to be implemented by the extending back-end class and
will be called by AbstractResponse during the
RIFE-specific additional behaviour. It behaves exactly like its
Response.setContentType(String) counter-part in the Response interface .
See Also:Response.setContentType(String) since: 1.1