类的使用
org.springframework.web.socket.sockjs.SockJsException
使用SockJsException的程序包 程序包 说明 org.springframework.web.socket.sockjs Top-level SockJS types.org.springframework.web.socket.sockjs.support Support classes for SockJS including anAbstractSockJsServiceimplementation.org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandlerimplementations for processing incoming requests, theirsessioncounterparts for sending messages over the various transports, andDefaultSockJsService.org.springframework.web.socket.sockjs.transport.handler TransportHandlerimplementation classes as well as a concreteSockJsService.org.springframework.web.socket.sockjs.transport.session SockJS specific implementations ofWebSocketSession.org.springframework.web.socket.sockjs中SockJsException的使用
org.springframework.web.socket.sockjs中SockJsException的子类 修饰符和类型 类 说明 classSockJsMessageDeliveryExceptionAn exception thrown when a message frame was successfully received over an HTTP POST and parsed but one or more of the messages it contained could not be delivered to the WebSocketHandler either because the handler failed or because the connection got closed.classSockJsTransportFailureExceptionIndicates a serious failure that occurred in the SockJS implementation as opposed to in user code (e.g.抛出SockJsException的org.springframework.web.socket.sockjs中的方法 修饰符和类型 方法 说明 voidSockJsService. handleRequest(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler handler)Process a SockJS HTTP request.org.springframework.web.socket.sockjs.support中SockJsException的使用
抛出SockJsException的org.springframework.web.socket.sockjs.support中的方法 修饰符和类型 方法 说明 voidAbstractSockJsService. handleRequest(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler wsHandler)This method determines the SockJS path and handles SockJS static URLs.protected abstract voidAbstractSockJsService. handleTransportRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler, String sessionId, String transport)Handle a SockJS session URL (i.e. transport-specific request).org.springframework.web.socket.sockjs.transport中SockJsException的使用
抛出SockJsException的org.springframework.web.socket.sockjs.transport中的方法 修饰符和类型 方法 说明 voidTransportHandler. handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, SockJsSession session)Handle the given request and delegate messages to the providedWebSocketHandler.protected voidTransportHandlingSockJsService. handleTransportRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, String sessionId, String transport)org.springframework.web.socket.sockjs.transport.handler中SockJsException的使用
org.springframework.web.socket.sockjs.transport.session中SockJsException的使用
抛出SockJsException的org.springframework.web.socket.sockjs.transport.session中的方法 修饰符和类型 方法 说明 voidAbstractHttpSockJsSession. handleInitialRequest(ServerHttpRequest request, ServerHttpResponse response, SockJsFrameFormat frameFormat)Handle the first request for receiving messages on a SockJS HTTP transport based session.voidAbstractHttpSockJsSession. handleSuccessiveRequest(ServerHttpRequest request, ServerHttpResponse response, SockJsFrameFormat frameFormat)Handle all requests, except the first one, to receive messages on a SockJS HTTP transport based session.