public class RestApi
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RestApi.BODY |
Modifier and Type | Method and Description |
---|---|
RestPath[] |
getFinalPaths(java.util.Map<java.lang.String,java.lang.String> pathParams)
Finds the best matching rest path given the current parameters and replaces
placeholders with their corresponding values received as arguments
|
java.util.List<java.lang.String> |
getMethods() |
java.lang.String |
getName() |
java.util.List<java.lang.String> |
getParams() |
java.util.List<java.lang.String> |
getPathParts() |
java.util.List<java.lang.String> |
getPaths() |
java.util.List<java.lang.String> |
getSupportedMethods(java.util.Set<java.lang.String> restParams)
Returns the supported http methods given the rest parameters provided
|
boolean |
isBodyRequired() |
boolean |
isBodySupported() |
public java.lang.String getName()
public java.util.List<java.lang.String> getMethods()
public java.util.List<java.lang.String> getSupportedMethods(java.util.Set<java.lang.String> restParams)
public java.util.List<java.lang.String> getPaths()
public java.util.List<java.lang.String> getPathParts()
public java.util.List<java.lang.String> getParams()
public boolean isBodySupported()
public boolean isBodyRequired()
public RestPath[] getFinalPaths(java.util.Map<java.lang.String,java.lang.String> pathParams)