1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
33
33
* A base class for working with message headers in simple messaging protocols that
34
34
* support basic messaging patterns. Provides uniform access to specific values common
35
35
* across protocols such as a destination, message type (e.g. publish, subscribe, etc),
36
- * session id , and others.
36
+ * session ID , and others.
37
37
*
38
- * <p>Use one of the static factory method in this class, then call getters and setters,
38
+ * <p>Use one of the static factory methods in this class, then call getters and setters,
39
39
* and at the end if necessary call {@link #toMap()} to obtain the updated headers.
40
40
*
41
41
* @author Rossen Stoyanchev
@@ -91,7 +91,8 @@ public class SimpMessageHeaderAccessor extends NativeMessageHeaderAccessor {
91
91
92
92
/**
93
93
* A constructor for creating new message headers.
94
- * This constructor is protected. See factory methods in this and subclasses.
94
+ * <p>This constructor is protected. See factory methods in this class
95
+ * and subclasses.
95
96
*/
96
97
protected SimpMessageHeaderAccessor (SimpMessageType messageType ,
97
98
@ Nullable Map <String , List <String >> externalSourceHeaders ) {
@@ -103,8 +104,9 @@ protected SimpMessageHeaderAccessor(SimpMessageType messageType,
103
104
}
104
105
105
106
/**
106
- * A constructor for accessing and modifying existing message headers. This
107
- * constructor is protected. See factory methods in this and subclasses.
107
+ * A constructor for accessing and modifying existing message headers.
108
+ * <p>This constructor is protected. See factory methods in this class
109
+ * and subclasses.
108
110
*/
109
111
protected SimpMessageHeaderAccessor (Message <?> message ) {
110
112
super (message );
0 commit comments