org.springframework.web.socket.sockjs.transport.handler

## Class JsonpReceivingTransportHandler

- java.lang.Object
- - org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
  - - org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
    - - org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler

- All Implemented Interfaces:
    TransportHandler

      public class JsonpReceivingTransportHandler
      extends AbstractHttpReceivingTransportHandler

  A `TransportHandler` that receives messages over HTTP.
  Author:
    Rossen Stoyanchev

- - ### Field Summary

    - ### Fields inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler

      `logger, UTF8_CHARSET`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonpReceivingTransportHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpStatus` | `getResponseStatus()`
    `TransportType` | `getTransportType()` Return the transport type supported by this handler.
    `void` | `handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession)`
    `protected String[]` | `readMessages(ServerHttpRequest request)`

    - ### Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler

      `handleRequest`

    - ### Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler

      `getServiceConfig, initialize`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsonpReceivingTransportHandler

          public JsonpReceivingTransportHandler()

  - ### Method Detail

    - #### getTransportType

          public TransportType getTransportType()

      Description copied from interface: `TransportHandler`
      Return the transport type supported by this handler.

    - #### handleRequestInternal

          public void handleRequestInternal(ServerHttpRequest request,
                                            ServerHttpResponse response,
                                            WebSocketHandler wsHandler,
                                            AbstractHttpSockJsSession sockJsSession)
                                     throws SockJsException

      Overrides:
        `handleRequestInternal` in class `AbstractHttpReceivingTransportHandler`
      Throws:
        `SockJsException`

    - #### readMessages

          protected String[] readMessages(ServerHttpRequest request)
                                   throws IOException

      Specified by:
        `readMessages` in class `AbstractHttpReceivingTransportHandler`
      Throws:
        `IOException`

    - #### getResponseStatus

          protected HttpStatus getResponseStatus()

      Specified by:
        `getResponseStatus` in class `AbstractHttpReceivingTransportHandler`