|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.contract.jaxrs.ResourceMethodMediaType
public class ResourceMethodMediaType
A media type for a resource method.
| Constructor Summary | |
|---|---|
ResourceMethodMediaType()
|
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getSubcontexts()
Any additional subcontexts where requests for this specific type might be mounted. |
java.lang.String |
getType()
The content type. |
boolean |
isConsumable()
Whether the content type is consumable by the resource. |
boolean |
isProduceable()
Whether the content type is produceable by the resource. |
void |
setConsumable(boolean consumable)
Whether the content type is consumable by the resource. |
void |
setProduceable(boolean produceable)
Whether the content type is produceable by the resource. |
void |
setSubcontexts(java.util.Set<java.lang.String> subcontexts)
Any additional subcontexts where requests for this specific type might be mounted. |
void |
setType(java.lang.String type)
The content type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceMethodMediaType()
| Method Detail |
|---|
public java.lang.String getType()
public void setType(java.lang.String type)
type - The content type.public boolean isConsumable()
public void setConsumable(boolean consumable)
consumable - Whether the content type is consumable by the resource.public boolean isProduceable()
public void setProduceable(boolean produceable)
produceable - Whether the content type is produceable by the resource.public java.util.Set<java.lang.String> getSubcontexts()
public void setSubcontexts(java.util.Set<java.lang.String> subcontexts)
subcontexts - Any additional subcontexts where requests for this specific type might be mounted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||