neo4j :: JsonGET :: defaultinit
neo4j $ JsonGET :: execute_hook
Hook to implement in concrete requestscore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
curl :: CurlHTTPRequest :: data=
Data for the body of a POST requestneo4j :: JsonCurlRequest :: defaultinit
neo4j :: JsonGET :: defaultinit
curl :: CurlHTTPRequest :: defaultinit
core :: Object :: defaultinit
curl :: CurlRequest :: defaultinit
curl :: CurlHTTPRequest :: delegate
Delegates to customize the behavior when runningexecute
curl :: CurlHTTPRequest :: delegate=
Delegates to customize the behavior when runningexecute
curl :: CurlHTTPRequest :: download_to_file
Download to file given resourceneo4j :: JsonCurlRequest :: execute_hook
Hook to implement in concrete requestscurl :: CurlHTTPRequest :: headers=
Header content of the requestneo4j :: JsonCurlRequest :: init_headers
init HTTP headers for Neo4j REST APIcore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
curl :: CurlHTTPRequest :: method=
The HTTP method, GET by defaultcore :: Object :: output_class_name
Display class name on stdout (debug only).curl :: CurlHTTPRequest :: unix_socket_path
Set the Unix domain socket path to usecurl :: CurlHTTPRequest :: unix_socket_path=
Set the Unix domain socket path to usecurl :: CurlHTTPRequest :: url=
Address of the remote resource to requestcurl :: CurlHTTPRequest :: user_agent
Set the user agent for all following HTTP requestscurl :: CurlHTTPRequest :: user_agent=
Set the user agent for all following HTTP requests
# HTTP GET command
class JsonGET
super JsonCurlRequest
redef fun execute_hook do
var err = self.curl.native.easy_setopt(new CURLOption.get, true)
if not err.is_ok then return answer_failure(err.to_i, err.to_s)
return null
end
end
lib/neo4j/curl_json.nit:95,1--104,3