{"id":199048,"date":"2013-10-25T17:54:02","date_gmt":"2013-10-25T13:54:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=199048"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=199048","title":{"rendered":"<span class=\"post_title\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 SessionAttributes \u0432 Spring MVC \u043f\u0440\u043e\u0435\u043a\u0442\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h5>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e <u>\u0441\u0438\u043b\u044c\u043d\u043e<\/u> \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u043b\u0435\u0442\u0430 \u0432 \u043a\u0438\u043d\u043e. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438, \u0442.\u0435. \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u043d \u0432\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0441\u0435\u0430\u043d\u0441\u0443, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0432\u043e\u0438 \u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u2014 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u0441\u0435 \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0444\u043e\u0440\u043c\u044b \u0432 \u0441\u0435\u0441\u0441\u0438\u0438, \u043f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044e \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h5>\u0421 \u0447\u0435\u0433\u043e \u043d\u0430\u0447\u0430\u0442\u044c<\/h5>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e Spring MVC \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0443 \u0432\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, jsp \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 view.<\/p>\n<p>  \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435: <\/p>\n<ul>\n<li>booking.jsp: \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043a\u0438\u043d\u043e\u0441\u0435\u0430\u043d\u0441\u0430<\/li>\n<li>customer.jsp: \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>payment.jsp: \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432\u0432\u043e\u0434\u0430 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/li>\n<li>confirmation.jsp: \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<p>  \u041b\u0438\u0441\u0442\u0438\u043d\u0433: booking.jsp <\/p>\n<pre> &lt;%@ page contentType=&quot;text\/html;charset=UTF-8&quot; language=&quot;java&quot; %&gt; &lt;%@ taglib uri=&quot;http:\/\/www.springframework.org\/tags\/form&quot; prefix=&quot;form&quot;%&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Booking Start Page&lt;\/title&gt; &lt;\/head&gt; &lt;body&gt;     &lt;form:form action=&quot;\/booking\/movie&quot; modelAttribute=&quot;ticketForm&quot;&gt;         Movie ID : &lt;form:input path=&quot;movieId&quot;\/&gt;         &lt;input type=&quot;submit&quot;\/&gt;     &lt;\/form:form&gt; &lt;\/body&gt; &lt;\/html&gt; <\/pre>\n<p>  \u041b\u0438\u0441\u0442\u0438\u043d\u0433: customer.jsp<\/p>\n<pre> &lt;%@ page contentType=&quot;text\/html;charset=UTF-8&quot; language=&quot;java&quot; %&gt; &lt;%@ taglib uri=&quot;http:\/\/www.springframework.org\/tags\/form&quot; prefix=&quot;form&quot;%&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Customer Page&lt;\/title&gt; &lt;\/head&gt; &lt;body&gt;     &lt;form:form action=&quot;\/booking\/customer&quot; modelAttribute=&quot;ticketForm&quot;&gt;         Last Name : &lt;form:input path=&quot;lastName&quot;\/&gt;         &lt;input type=&quot;submit&quot;\/&gt;     &lt;\/form:form&gt; &lt;\/body&gt; &lt;\/html&gt; <\/pre>\n<p>  \u041b\u0438\u0441\u0442\u0438\u043d\u0433: payment.jsp<\/p>\n<pre> &lt;%@ page contentType=&quot;text\/html;charset=UTF-8&quot; language=&quot;java&quot; %&gt; &lt;%@ taglib uri=&quot;http:\/\/www.springframework.org\/tags\/form&quot; prefix=&quot;form&quot;%&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Payment Page&lt;\/title&gt; &lt;\/head&gt; &lt;body&gt;     &lt;form:form action=&quot;\/booking\/payment&quot; modelAttribute=&quot;ticketForm&quot;&gt;         CreditCard Number : &lt;form:input path=&quot;creditCardNumber&quot;\/&gt;         &lt;input type=&quot;submit&quot;\/&gt;     &lt;\/form:form&gt; &lt;\/body&gt; &lt;\/html&gt; <\/pre>\n<p>  \u041b\u0438\u0441\u0442\u0438\u043d\u0433: confirmation.jsp<\/p>\n<pre> &lt;%@ page contentType=&quot;text\/html;charset=UTF-8&quot; language=&quot;java&quot; %&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Confirmation Page&lt;\/title&gt; &lt;\/head&gt; &lt;body&gt;     Thank you for your purchase! &lt;\/body&gt; &lt;\/html&gt; <\/pre>\n<p>  \u0424\u043e\u0440\u043c\u0430:<\/p>\n<pre> public class TicketForm {      private String movieId;     private String lastName;     private String creditCardNumber;      public String getMovieId() {         return movieId;     }      public void setMovieId(String movieId) {         this.movieId = movieId;     }      public String getLastName() {         return lastName;     }      public void setLastName(String lastName) {         this.lastName = lastName;     }      public String getCreditCardNumber() {         return creditCardNumber;     }      public void setCreditCardNumber(String creditCardNumber) {         this.creditCardNumber = creditCardNumber;     }  } <\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438 @SessionAttributes \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 BookTicketController, \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u0438\u043f\u044b TicketForm \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043a \u043c\u043e\u0434\u0435\u043b\u0438, \u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043a \u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b \u0432 \u0441\u0435\u0441\u0441\u0438\u0438. @SessionAttributes \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0438\u043c\u0435\u043d\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u0432 \u043c\u043e\u0434\u0435\u043b\u0438.<\/p>\n<pre> import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.util.Assert; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.SessionAttributes; import org.springframework.web.bind.support.SessionStatus;  <a href=\"http:\/\/habrahabr.ru\/users\/controller\/\" class=\"user_link\">Controller<\/a> @RequestMapping(value = &quot;\/booking&quot;) @SessionAttributes(types = TicketForm.class) public class BookTicketController {      @RequestMapping(method = RequestMethod.GET)     public String start(Model model) {         \/\/ \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 start() \u0444\u043e\u0440\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 http session \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f @SessionAttributes(types = TicketForm.class)         model.addAttribute(new TicketForm());          return &quot;booking\/booking&quot;;     }      @RequestMapping(value = &quot;\/movie&quot;, method = RequestMethod.POST)     public String selectMovie(TicketForm ticketForm) {          Assert.notNull(ticketForm);         Assert.notNull(ticketForm.getMovieId());          return &quot;booking\/customer&quot;;     }      @RequestMapping(value = &quot;\/customer&quot;, method = RequestMethod.POST)     public String enterCustomerData(TicketForm ticketForm) {          Assert.notNull(ticketForm);         \/\/ movieId \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u0441 customer.jsp, \u043d\u043e \u043e\u043d \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f selectMovie()         Assert.notNull(ticketForm.getMovieId());         Assert.notNull(ticketForm.getLastName());          return &quot;booking\/payment&quot;;     }      @RequestMapping(value = &quot;\/payment&quot;, method = RequestMethod.POST)     public String enterPaymentDetails(TicketForm ticketForm) {          \/\/ movieId \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u0441 customer.jsp, \u043d\u043e \u043e\u043d \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f selectMovie()         Assert.notNull(ticketForm.getMovieId());         \/\/ lastName \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u0441 payment.jsp, \u043d\u043e \u043e\u043d \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f enterCustomerData()         Assert.notNull(ticketForm.getLastName());         Assert.notNull(ticketForm.getCreditCardNumber());          return &quot;redirect:\/booking\/confirmation&quot;;     }      @RequestMapping(value = &quot;\/confirmation&quot;, method = RequestMethod.GET)     public String confirmation(SessionStatus status) {         status.setComplete(); \/\/ \u043e\u0447\u0438\u0449\u0430\u0435\u043c Spring Session \u0432 \u0446\u0435\u043b\u044f\u0445 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445         return &quot;booking\/confirmation&quot;;     }  } <\/pre>\n<h5>\u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c SessionAttributes \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 SessionStatus \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.<\/p>\n<pre> @RequestMapping(value = &quot;\/confirmation&quot;, method = RequestMethod.GET)     public String confirmation(SessionStatus status) {         status.setComplete();         return &quot;booking\/confirmation&quot;;     } <\/pre>\n<p>  \u0412\u044b\u0437\u0432\u0430\u0432 status.setComplete(); \u0432\u044b \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0435 Spring \u0441\u0435\u0441\u0441\u0438\u044e, SessionAttributes \u0431\u0443\u0434\u0443\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u044b, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0432 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c HTTP \u0441\u0435\u0441\u0441\u0438\u044e.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/199048\/\"> http:\/\/habrahabr.ru\/post\/199048\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h5>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e <u>\u0441\u0438\u043b\u044c\u043d\u043e<\/u> \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u043b\u0435\u0442\u0430 \u0432 \u043a\u0438\u043d\u043e. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438, \u0442.\u0435. \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u043d \u0432\u0432\u043e\u0434\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0441\u0435\u0430\u043d\u0441\u0443, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0432\u043e\u0438 \u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u2014 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u0441\u0435 \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u043e\u0434\u0438\u0442 \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0444\u043e\u0440\u043c\u044b \u0432 \u0441\u0435\u0441\u0441\u0438\u0438, \u043f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044e \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-199048","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199048"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199048\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}