Package co.arago.hiro.client.rest
Class GraphAPI.PostVerbCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<T,R>
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf<GraphAPI.PostVerbCommand,HiroVertexMessage>
-
- co.arago.hiro.client.rest.GraphAPI.PostVerbCommand
-
- Enclosing class:
- GraphAPI
public class GraphAPI.PostVerbCommand extends AuthenticatedAPIHandler.SendBodyAPIRequestConf<GraphAPI.PostVerbCommand,HiroVertexMessage>
connect two vertices via an edge named verb.API POST /api/graph/[version]/connect/{ogit/_type}
- See Also:
- API Documentation
-
-
Field Summary
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf
body
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
fragment, headers, httpRequestTimeout, maxRetries, path, query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPostVerbCommand(java.lang.String fromNodeId, java.lang.String verb, java.lang.String toNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiroVertexMessageexecute()protected GraphAPI.PostVerbCommandself()-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf
setBody, setJsonBodyFromMap, setJsonBodyFromMessage
-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
self
protected GraphAPI.PostVerbCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.PostVerbCommand,HiroVertexMessage>
-
execute
public HiroVertexMessage execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.PostVerbCommand,HiroVertexMessage>- Returns:
HiroVertexMessageThe Json Response- Throws:
HiroException- When the call returns a http status error.java.io.IOException- When the call got an IO error.java.lang.InterruptedException- When the call gets interrupted.
-
-