@ApplicationScoped public class DefaultAcceptHeaderToFormat extends Object implements AcceptHeaderToFormat
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
mimeToFormat |
| Constructor and Description |
|---|
DefaultAcceptHeaderToFormat() |
public String getFormat(String acceptHeader)
AcceptHeaderToFormatgetFormat in interface AcceptHeaderToFormatacceptHeader - The Accept HTTP headerCopyright © 2014 Caelum. All Rights Reserved.