| java.lang.Object org.apache.http.impl.DefaultHttpResponseFactory
DefaultHttpResponseFactory | public class DefaultHttpResponseFactory implements HttpResponseFactory(Code) | | Default implementation of a factory for creating response objects.
author: Oleg Kalnichevski version: $Revision: 573864 $ since: 4.0 |
DefaultHttpResponseFactory | public DefaultHttpResponseFactory(ReasonPhraseCatalog catalog)(Code) | | Creates a new response factory with the given catalog.
Parameters: catalog - the catalog of reason phrases |
DefaultHttpResponseFactory | public DefaultHttpResponseFactory()(Code) | | Creates a new response factory with the default catalog.
The default catalog is
EnglishReasonPhraseCatalog EnglishReasonPhraseCatalog .
|
determineLocale | protected Locale determineLocale(HttpContext context)(Code) | | Determines the locale of the response.
The implementation in this class always returns the default locale.
Parameters: context - the context from which to determine the locale, ornull to use the default locale the locale for the response, never null |
|
|