short answer: no!
: , . Thymeleaf - HTML/XML. XMLHttpRequest, AJAX (*), javascript.
, javascript. javascript, . javascript . Thymeleaf .
* : , , ;)
, [. ]:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.w3.org/1999/xhtml"
layout:decorator="Layout">
<head>
<title>Example</title>
<meta name="_jwt" th:content="${yourToken}"/>
</head>
...
ajax .
, jQuery, ajax jQuery :
$(function(){
var _token = $('meta[name="_jwt"]').attr('content');
$.ajaxPrefilter(function (options, originalOptions, jqXHR) {
jqXHR.setRequestHeader("your_jwt_token_header_name", _token);
});
});