Class AcmeProxyService
- java.lang.Object
-
- de.trustable.ca3s.core.web.websocket.AcmeProxyService
-
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionDisconnectEvent>
@Controller public class AcmeProxyService extends Object implements org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionDisconnectEvent>
-
-
Constructor Summary
Constructors Constructor Description AcmeProxyService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringhandleException(Throwable exception)voidonApplicationEvent(org.springframework.web.socket.messaging.SessionDisconnectEvent event)de.trustable.ca3s.acmeproxy.dto.AcmeResponseContainerprocessACMERequest(de.trustable.ca3s.acmeproxy.dto.AcmeRequestContainer arc, org.springframework.messaging.simp.stomp.StompHeaderAccessor stompHeaderAccessor, Principal principal)
-
-
-
Method Detail
-
processACMERequest
@MessageMapping("/acmeProxy") @SendTo("/topic/acmeProxied") public de.trustable.ca3s.acmeproxy.dto.AcmeResponseContainer processACMERequest(@Payload de.trustable.ca3s.acmeproxy.dto.AcmeRequestContainer arc, org.springframework.messaging.simp.stomp.StompHeaderAccessor stompHeaderAccessor, Principal principal)
-
onApplicationEvent
public void onApplicationEvent(org.springframework.web.socket.messaging.SessionDisconnectEvent event)
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionDisconnectEvent>
-
-