Did you know ...
Search Documentation:
Predicate jpl_servlet_byval/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Packages
JPL: A bidirectional Prolog/Java interface
library(jpl): A Java interface for SWI Prolog 7.x
jpl_new/3
jpl_call/4
jpl_get/3
jpl_set/3
jpl_get_default_jvm_opts/1
jpl_set_default_jvm_opts/1
jpl_get_actual_jvm_opts/1
jpl_pl_lib_version/1
jpl_c_lib_version/1
jpl_class_to_classname/2
jpl_class_to_type/2
jpl_classname_to_class/2
jpl_entityname_to_type/2
jpl_type_to_entityname/2
jpl_classname_to_type/2
jpl_type_to_classname/2
jpl_datum_to_type/2
jpl_object_to_class/2
jpl_object_to_type/2
jpl_primitive_type/1
jpl_ref_to_type/2
jpl_type_to_class/2
jpl_is_class/1
jpl_is_false/1
jpl_is_null/1
jpl_is_object/1
jpl_is_object_type/1
jpl_is_ref/1
jpl_is_true/1
jpl_is_type/1
jpl_is_void/1
jpl_false/1
jpl_null/1
jpl_true/1
jpl_void/1
jpl_array_to_length/2
jpl_array_to_list/2
jpl_datums_to_array/2
jpl_enumeration_element/2
jpl_enumeration_to_list/2
jpl_hashtable_pair/2
jpl_iterator_element/2
jpl_list_to_array/2
jpl_terms_to_array/2
jpl_array_to_terms/2
jpl_map_element/2
jpl_set_element/2
jpl_servlet_byref/3
jpl_servlet_byval/3
jpl_pl_syntax/1
Availability:
:- use_module(
library(jpl)
).
(can be autoloaded)
jpl_servlet_byval
(
+MultiMap, -ContentType:atom, -Body:atom
)
This exemplifies an alternative (to jpl_servlet_byref) tactic for implementing a servlet in Prolog; most Request fields are extracted in Java before this is called, and passed in as a multimap (a map, some of whose values are maps).