| Package | Description |
|---|---|
| org.gcube.smartgears.extensions | |
| org.gcube.smartgears.extensions.resource |
| Modifier and Type | Method and Description |
|---|---|
static HttpExtension.Method |
HttpExtension.Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpExtension.Method[] |
HttpExtension.Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<HttpExtension.Method> |
ApiSignature.methods() |
Map<HttpExtension.Method,Set<String>> |
ApiSignature.requestTypes() |
Map<HttpExtension.Method,Set<String>> |
ApiSignature.responseTypes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ApiResource.accepts(HttpExtension.Method method,
String type)
Returns
true if this resource accepts a given media type for a given method. |
static ApiMethodSignature |
ApiResource.method(HttpExtension.Method method)
Returns an
ApiMethodSignature that declares the media types handled by an ApiResource for a given method. |
boolean |
ApiResource.produces(HttpExtension.Method method,
String type)
Returns
true if this resource produces a given media type for a given method. |
boolean |
ApiResource.supports(HttpExtension.Method method)
Returns
true if this resource supports a given method. |
| Constructor and Description |
|---|
ApiMethodSignature(HttpExtension.Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LifecycleResource.supports(HttpExtension.Method method) |
Copyright © 2021. All Rights Reserved.