Class | Merb::AcceptType |
In: |
lib/merb-core/controller/mixins/responder.rb
|
Parent: | Object |
index | [R] | |
media_range | [R] | |
quality | [R] | |
sub_type | [R] | |
type | [R] |
entry<String>: | The accept type pattern |
index<Fixnum>: | The index used for sorting accept types. A lower value indicates higher priority. |
:api: private
Compares two accept types for sorting purposes.
entry<AcceptType>: | The accept type to compare. |
Fixnum: | -1, 0 or 1, depending on whether entry has a lower, equal or higher priority than the accept type being compared. |
:api: private
entry<AcceptType>: | The accept type to compare. |
Boolean: | True if the accept types are equal, i.e. if the synonyms for this accept type includes the entry media range. |
:api: private
String: | The primary media range for this accept type, i.e. either the first synonym or, if none exist, the media range. |
:api: private
Array[String]: | All Accept header values, such as "text/html", that match this type. |
:api: private