Package com.yahoo.jdisc.test
Class NonWorkingResponseHandler
java.lang.Object
com.yahoo.jdisc.test.NonWorkingResponseHandler
- All Implemented Interfaces:
ResponseHandler
- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleResponse
(Response response) This method will process the givenResponse
and return aContentChannel
into which the caller can write the Response's content.
-
Constructor Details
-
NonWorkingResponseHandler
public NonWorkingResponseHandler()
-
-
Method Details
-
handleResponse
Description copied from interface:ResponseHandler
This method will process the givenResponse
and return aContentChannel
into which the caller can write the Response's content.- Specified by:
handleResponse
in interfaceResponseHandler
- Parameters:
response
- the Response to handle- Returns:
- the ContentChannel to write the Response content to. Notice that the ContentChannel holds a Container reference, so failure to close this will prevent the Container from ever shutting down.
-