private class RestTemplateXhrTransport.XhrReceiveExtractor extends java.lang.Object implements ResponseExtractor<java.lang.Object>
XhrClientSockJsSession.| Modifier and Type | Field and Description |
|---|---|
private XhrClientSockJsSession |
sockJsSession |
| Constructor and Description |
|---|
XhrReceiveExtractor(XhrClientSockJsSession sockJsSession) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
extractData(ClientHttpResponse response)
Extract data from the given
ClientHttpResponse and return it. |
private void |
handleFrame(java.io.ByteArrayOutputStream os) |
private final XhrClientSockJsSession sockJsSession
public XhrReceiveExtractor(XhrClientSockJsSession sockJsSession)
public java.lang.Object extractData(ClientHttpResponse response) throws java.io.IOException
ResponseExtractorClientHttpResponse and return it.extractData in interface ResponseExtractor<java.lang.Object>response - the HTTP responsejava.io.IOException - in case of I/O errorsprivate void handleFrame(java.io.ByteArrayOutputStream os)