|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConsumesProducesEnabledComponent
Jersey model component that may contain consumes
and produces information.
| Method Summary | |
|---|---|
boolean |
areInputTypesDeclared()
Provides information on whether consumed media types were explicitly configured for this component. |
boolean |
areOutputTypesDeclared()
Provides information on whether produced media types were explicitly configured for this component. |
List<javax.ws.rs.core.MediaType> |
getSupportedInputTypes()
Getter for consumed media types. |
List<javax.ws.rs.core.MediaType> |
getSupportedOutputTypes()
Getter for produced media types. |
void |
setAreInputTypesDeclared(boolean declared)
Setter for information on how the consumed media types were configured. |
void |
setAreOutputTypesDeclared(boolean declared)
Setter for information on how the produced media types were configured. |
| Method Detail |
|---|
boolean areInputTypesDeclared()
boolean areOutputTypesDeclared()
List<javax.ws.rs.core.MediaType> getSupportedInputTypes()
areInputTypesDeclared()List<javax.ws.rs.core.MediaType> getSupportedOutputTypes()
areOutputTypesDeclared()
void setAreInputTypesDeclared(boolean declared)
throws OperationNotSupportedException
declared - should be set to true if consumed media types were configured
explicitly.
OperationNotSupportedException - if the component is immutable.
void setAreOutputTypesDeclared(boolean declared)
throws OperationNotSupportedException
declared - should be set to true if produced media types were configured
explicitly.
OperationNotSupportedException - if the component is immutable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||