Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.any23.servlet.conneg
Class ContentTypeNegotiator.VariantSpec

    java.lang.Object
      org.apache.any23.servlet.conneg.ContentTypeNegotiator.VariantSpec

Enclosing class:
  ContentTypeNegotiator

    protected class ContentTypeNegotiator.VariantSpec

extends Object

Constructor Summary
`ContentTypeNegotiator.VariantSpec(String mediaType)`

Method Summary
`ContentTypeNegotiator.VariantSpec` | `addAliasMediaType(String mediaType)`
`List<MediaRangeSpec>` | `getAliases()`
`MediaRangeSpec` | `getMediaType()`
`boolean` | `isDefault()`
`void` | `makeDefault()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContentTypeNegotiator.VariantSpec

    public ContentTypeNegotiator.VariantSpec(String mediaType)

Method Detail

### addAliasMediaType

    public ContentTypeNegotiator.VariantSpec addAliasMediaType(String mediaType)

### makeDefault

    public void makeDefault()

### getMediaType

    public MediaRangeSpec getMediaType()

### isDefault

    public boolean isDefault()

### getAliases

    public List<MediaRangeSpec> getAliases()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.