Home
last modified time | relevance | path

Searched refs:HttpConnection (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/net/server/
Dhttp_connection.cc14 int HttpConnection::last_id_ = 0;
16 void HttpConnection::Send(const std::string& data) { in Send()
22 void HttpConnection::Send(const char* bytes, int len) { in Send()
28 void HttpConnection::Send(const HttpServerResponseInfo& response) { in Send()
32 HttpConnection::HttpConnection(HttpServer* server, in HttpConnection() function in net::HttpConnection
39 HttpConnection::~HttpConnection() { in ~HttpConnection()
43 void HttpConnection::Shift(int num_bytes) { in Shift()
Dhttp_server.h18 class HttpConnection; variable
79 friend class HttpConnection; variable
84 bool ParseHeaders(HttpConnection* connection,
88 HttpConnection* FindConnection(int connection_id);
89 HttpConnection* FindConnection(StreamListenSocket* socket);
93 typedef std::map<int, HttpConnection*> IdToConnectionMap;
95 typedef std::map<StreamListenSocket*, HttpConnection*> SocketToConnectionMap;
Dhttp_server.cc33 HttpConnection* connection = FindConnection(connection_id); in AcceptWebSocket()
43 HttpConnection* connection = FindConnection(connection_id); in SendOverWebSocket()
52 HttpConnection* connection = FindConnection(connection_id); in SendResponse()
82 HttpConnection* connection = FindConnection(connection_id); in Close()
99 HttpConnection* connection = new HttpConnection(this, socket.Pass()); in DidAccept()
108 HttpConnection* connection = FindConnection(socket); in DidRead()
174 HttpConnection* connection = FindConnection(socket); in DidClose()
248 bool HttpServer::ParseHeaders(HttpConnection* connection, in ParseHeaders()
316 HttpConnection* HttpServer::FindConnection(int connection_id) { in FindConnection()
323 HttpConnection* HttpServer::FindConnection(StreamListenSocket* socket) { in FindConnection()
Dhttp_connection.h21 class HttpConnection {
23 ~HttpConnection();
38 HttpConnection(HttpServer* server, scoped_ptr<StreamListenSocket> sock);
45 DISALLOW_COPY_AND_ASSIGN(HttpConnection);
Dweb_socket.h14 class HttpConnection; variable
26 static WebSocket* CreateWebSocket(HttpConnection* connection,
44 explicit WebSocket(HttpConnection* connection);
45 HttpConnection* connection_;
Dweb_socket.cc46 static net::WebSocket* Create(HttpConnection* connection, in Create()
112 WebSocketHixie76(HttpConnection* connection, in WebSocketHixie76()
172 static WebSocket* Create(HttpConnection* connection, in Create()
228 WebSocketHybi17(HttpConnection* connection, in WebSocketHybi17()
260 WebSocket* WebSocket::CreateWebSocket(HttpConnection* connection, in CreateWebSocket()
403 WebSocket::WebSocket(HttpConnection* connection) : connection_(connection) { in WebSocket()
/external/chromium_org/net/test/embedded_test_server/
Dhttp_connection.cc13 HttpConnection::HttpConnection(scoped_ptr<StreamListenSocket> socket, in HttpConnection() function in net::test_server::HttpConnection
19 HttpConnection::~HttpConnection() { in ~HttpConnection()
22 void HttpConnection::SendResponse(scoped_ptr<HttpResponse> response) const { in SendResponse()
27 void HttpConnection::ReceiveData(const base::StringPiece& data) { in ReceiveData()
Dhttp_connection.h19 class HttpConnection; variable
24 typedef base::Callback<void(HttpConnection* connection,
30 class HttpConnection {
32 HttpConnection(scoped_ptr<StreamListenSocket> socket,
34 ~HttpConnection();
51 DISALLOW_COPY_AND_ASSIGN(HttpConnection);
Dembedded_test_server.h29 class HttpConnection; variable
160 void HandleRequest(HttpConnection* connection,
171 HttpConnection* FindConnection(StreamListenSocket* socket);
184 std::map<StreamListenSocket*, HttpConnection*> connections_;
Dembedded_test_server.cc214 void EmbeddedTestServer::HandleRequest(HttpConnection* connection, in HandleRequest()
267 HttpConnection* http_connection = new HttpConnection( in DidAccept()
280 HttpConnection* http_connection = FindConnection(connection); in DidRead()
291 HttpConnection* http_connection = FindConnection(connection); in DidClose()
300 HttpConnection* EmbeddedTestServer::FindConnection( in FindConnection()
304 std::map<StreamListenSocket*, HttpConnection*>::iterator it = in FindConnection()
/external/apache-http/src/org/apache/http/impl/conn/
DIdleConnectionHandler.java40 import org.apache.http.HttpConnection;
57 private final Map<HttpConnection,TimeValues> connectionToTimes;
62 connectionToTimes = new HashMap<HttpConnection,TimeValues>(); in IdleConnectionHandler()
73 public void add(HttpConnection connection, long validDuration, TimeUnit unit) { in add()
92 public boolean remove(HttpConnection connection) { in remove()
124 Iterator<HttpConnection> connectionIter = in closeIdleConnections()
128 HttpConnection conn = connectionIter.next(); in closeIdleConnections()
152 Iterator<HttpConnection> connectionIter = in closeExpiredConnections()
156 HttpConnection conn = connectionIter.next(); in closeExpiredConnections()
/external/apache-http/src/org/apache/http/protocol/
DRequestTargetHost.java37 import org.apache.http.HttpConnection;
74 HttpConnection conn = (HttpConnection) context in process()
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java35 import org.apache.http.HttpConnection;
89 HttpConnection conn = (HttpConnection) in keepAlive()
/external/apache-http/src/org/apache/http/
DHttpInetConnection.java45 public interface HttpInetConnection extends HttpConnection {
DHttpConnection.java45 public interface HttpConnection { interface
DHttpServerConnection.java46 public interface HttpServerConnection extends HttpConnection {
DHttpClientConnection.java48 public interface HttpClientConnection extends HttpConnection {