Oracle

weblogic.servlet.http
Interface WLHttpServletResponse


public interface WLHttpServletResponse


Method Summary
 Socket getSocket()
          Returns the socket associated with this HttpServletResponse.
 

Method Detail

getSocket

Socket getSocket()
                 throws IOException

Returns the socket associated with this HttpServletResponse.

NOTE:

This method will force to send response header and make any response data in buffer ignored. Once this method is called, sending response via ServletOutputStream or PrintWriter from this HttpServletResponse object will get an IllegalStateException.

Returns:
socket which is associated with this HttpServletResponse.
Throws:
IOException - if error occurs when getting socket.

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle