XhrTransport implementations do not need to redeclare interface when extending from AbstractXhrTransport
This commit is contained in:
@@ -60,7 +60,7 @@ import org.springframework.web.socket.sockjs.frame.SockJsFrame;
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.1
|
||||
*/
|
||||
public class JettyXhrTransport extends AbstractXhrTransport implements XhrTransport, Lifecycle {
|
||||
public class JettyXhrTransport extends AbstractXhrTransport implements Lifecycle {
|
||||
|
||||
private final HttpClient httpClient;
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ import org.springframework.web.socket.sockjs.frame.SockJsFrame;
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.1
|
||||
*/
|
||||
public class RestTemplateXhrTransport extends AbstractXhrTransport implements XhrTransport {
|
||||
public class RestTemplateXhrTransport extends AbstractXhrTransport {
|
||||
|
||||
private final RestOperations restTemplate;
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ import org.springframework.web.socket.sockjs.frame.SockJsFrame;
|
||||
* @since 4.1.2
|
||||
* @see org.xnio.Options
|
||||
*/
|
||||
public class UndertowXhrTransport extends AbstractXhrTransport implements XhrTransport {
|
||||
public class UndertowXhrTransport extends AbstractXhrTransport {
|
||||
|
||||
private static final AttachmentKey<String> RESPONSE_BODY = AttachmentKey.create(String.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user