/** * Create an instance for the given STOMP command. */ public static StompHeaderAccessor create(StompCommand command) { return new StompHeaderAccessor(command, null); }
/** * Create an instance from the payload and headers of the given Message. */ public static StompHeaderAccessor wrap(Message<?> message) { return new StompHeaderAccessor(message); }
/** * Create headers for a heartbeat. While a STOMP heartbeat frame does not * have headers, a session id is needed for processing purposes at a minimum. */ public static StompHeaderAccessor createForHeartbeat() { return new StompHeaderAccessor(); }
/** * Create an instance for the given STOMP command and headers. */ public static StompHeaderAccessor create(StompCommand command, Map<String, List<String>> headers) { return new StompHeaderAccessor(command, headers); }
/** * Create headers for a heartbeat. While a STOMP heartbeat frame does not * have headers, a session id is needed for processing purposes at a minimum. */ public static StompHeaderAccessor createForHeartbeat() { return new StompHeaderAccessor(); }
/** * Create an instance from the payload and headers of the given Message. */ public static StompHeaderAccessor wrap(Message<?> message) { return new StompHeaderAccessor(message); }
/** * Create an instance for the given STOMP command. */ public static StompHeaderAccessor create(StompCommand command) { return new StompHeaderAccessor(command, null); }
/** * Create an instance for the given STOMP command and headers. */ public static StompHeaderAccessor create(StompCommand command, Map<String, List<String>> headers) { return new StompHeaderAccessor(command, headers); }
/** * Create headers for a heartbeat. While a STOMP heartbeat frame does not * have headers, a session id is needed for processing purposes at a minimum. */ public static StompHeaderAccessor createForHeartbeat() { return new StompHeaderAccessor(); }
/** * Create headers for a heartbeat. While a STOMP heartbeat frame does not * have headers, a session id is needed for processing purposes at a minimum. */ public static StompHeaderAccessor createForHeartbeat() { return new StompHeaderAccessor(); }
/** * Create an instance for the given STOMP command. */ public static StompHeaderAccessor create(StompCommand command) { return new StompHeaderAccessor(command, null); }
/** * Create an instance for the given STOMP command. */ public static StompHeaderAccessor create(StompCommand command) { return new StompHeaderAccessor(command, null); }
/** * Create an instance for the given STOMP command and headers. */ public static StompHeaderAccessor create(StompCommand command, Map<String, List<String>> headers) { return new StompHeaderAccessor(command, headers); }
/** * Create an instance from the payload and headers of the given Message. */ public static StompHeaderAccessor wrap(Message<?> message) { return new StompHeaderAccessor(message); }
/** * Create an instance for the given STOMP command and headers. */ public static StompHeaderAccessor create(StompCommand command, Map<String, List<String>> headers) { return new StompHeaderAccessor(command, headers); }
/** * Create an instance from the payload and headers of the given Message. */ public static StompHeaderAccessor wrap(Message<?> message) { return new StompHeaderAccessor(message); }