FileDocCategorySizeDatePackage
ReasonPhraseCatalog.javaAPI DocAndroid 1.5 API2217Wed May 06 22:41:10 BST 2009org.apache.http

ReasonPhraseCatalog

public interface ReasonPhraseCatalog
Interface for obtaining reason phrases for HTTP status codes.
author
Roland Weber
version
$Revision: 505744 $
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetReason(int status, java.util.Locale loc)
Obtains the reason phrase for a status code. The optional context allows for catalogs that detect the language for the reason phrase.

param
status the status code, in the range 100-599
param
loc the preferred locale for the reason phrase
return
the reason phrase, or null if unknown