Class WebServiceDefinition
- java.lang.Object
-
- io.vertigo.core.node.definition.AbstractDefinition
-
- io.vertigo.vega.webservice.definitions.WebServiceDefinition
-
- All Implemented Interfaces:
io.vertigo.core.node.definition.Definition
public final class WebServiceDefinition extends io.vertigo.core.node.definition.AbstractDefinition
Web service definition.- Author:
- npiedeloup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebServiceDefinition.Verb
HTTP Verb supported.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebServiceDefinitionBuilder
builder(Method method)
Static method factory for WebServiceDefinitionBuilderString
getAcceptType()
String
getDoc()
Set<String>
getExcludedFields()
Set<String>
getIncludedFields()
Method
getMethod()
String
getPath()
String
getSortPath()
WebServiceDefinition.Verb
getVerb()
List<WebServiceParam>
getWebServiceParams()
boolean
isAccessTokenConsume()
boolean
isAccessTokenMandatory()
boolean
isAccessTokenPublish()
boolean
isCorsProtected()
boolean
isFileAttachment()
boolean
isNeedApiKey()
boolean
isNeedAuthentification()
boolean
isNeedSession()
boolean
isServerSideSave()
boolean
isSessionInvalidate()
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static WebServiceDefinitionBuilder builder(Method method)
Static method factory for WebServiceDefinitionBuilder- Parameters:
method
- Method to bind to this webService- Returns:
- WebServiceDefinitionBuilder
-
getPath
public String getPath()
- Returns:
- path
-
getSortPath
public String getSortPath()
- Returns:
- sortPath
-
getVerb
public WebServiceDefinition.Verb getVerb()
- Returns:
- verb
-
getAcceptType
public String getAcceptType()
- Returns:
- acceptType
-
getMethod
public Method getMethod()
- Returns:
- method
-
isNeedSession
public boolean isNeedSession()
- Returns:
- needSession
-
isSessionInvalidate
public boolean isSessionInvalidate()
- Returns:
- sessionInvalidate
-
isNeedAuthentification
public boolean isNeedAuthentification()
- Returns:
- needAuthentification
-
isAccessTokenPublish
public boolean isAccessTokenPublish()
- Returns:
- accessTokenPublish
-
isAccessTokenMandatory
public boolean isAccessTokenMandatory()
- Returns:
- accessTokenMandatory
-
isAccessTokenConsume
public boolean isAccessTokenConsume()
- Returns:
- accessTokenConsume
-
isServerSideSave
public boolean isServerSideSave()
- Returns:
- serverSideSave
-
getWebServiceParams
public List<WebServiceParam> getWebServiceParams()
- Returns:
- webServiceParams
-
getDoc
public String getDoc()
- Returns:
- doc
-
isCorsProtected
public boolean isCorsProtected()
- Returns:
- corsProtected
-
isFileAttachment
public boolean isFileAttachment()
- Returns:
- fileAttachment
-
isNeedApiKey
public boolean isNeedApiKey()
- Returns:
- the needApiKey
-
-