@Override public void startResponse(Buffer version, int status, Buffer reason) throws IOException { if (status != 101) { _error = "Bad response status " + status + " " + reason; _endp.close(); } }
public void onInputShutdown() throws IOException { _endp.close(); }
public void onInputShutdown() throws IOException { _endp.close(); }
@Override // TODO simone says shouldn't be needed public void startRequest(Buffer method, Buffer url, Buffer version) throws IOException { if (_error == null) _error = "Bad response: " + method + " " + url + " " + version; _endp.close(); }
public void closeServer() throws IOException { _endPoint.close(); }
@Override public void startResponse(Buffer version, int status, Buffer reason) throws IOException { if (status != 101) { _error = "Bad response status " + status + " " + reason; _endp.close(); } }
@Override // TODO simone says shouldn't be needed public void startRequest(Buffer method, Buffer url, Buffer version) throws IOException { if (_error == null) _error = "Bad response: " + method + " " + url + " " + version; _endp.close(); }
public void close() throws IOException { _endp.close(); }
@Override public void startResponse(Buffer version, int status, Buffer reason) throws IOException { if (status != 101) { _error = "Bad response status " + status + " " + reason; _endp.close(); } }
@Override // TODO simone says shouldn't be needed public void startRequest(Buffer method, Buffer url, Buffer version) throws IOException { if (_error == null) _error = "Bad response: " + method + " " + url + " " + version; _endp.close(); }
public void closeServer() throws IOException { _endPoint.close(); }
public void closeServer() throws IOException { _endPoint.close(); }
public void closeServer() throws IOException { _endPoint.close(); }
public void closeServer() throws IOException { _endPoint.close(); }
public void onInputShutdown() throws IOException { _endp.close(); }
@Override // TODO simone says shouldn't be needed public void content(Buffer ref) throws IOException { if (_error == null) _error = "Bad response. " + ref.length() + "B of content?"; _endp.close(); } });
@Override // TODO simone says shouldn't be needed public void content(Buffer ref) throws IOException { if (_error == null) _error = "Bad response. " + ref.length() + "B of content?"; _endp.close(); } });
@Override // TODO simone says shouldn't be needed public void content(Buffer ref) throws IOException { if (_error == null) _error = "Bad response. " + ref.length() + "B of content?"; _endp.close(); } });
@Override public void goAway(long timeout, TimeUnit unit, Handler<Void> handler) { try { getEndPoint().close(); handler.completed(null); } catch (IOException x) { handler.failed(null, x); } } }
_endp.close(); return this;