Skip to content

Instantly share code, notes, and snippets.

@zcox
Created December 28, 2012 16:47
Show Gist options
  • Select an option

  • Save zcox/4399573 to your computer and use it in GitHub Desktop.

Select an option

Save zcox/4399573 to your computer and use it in GitHub Desktop.
Successful request/response using server directly
2012-12-28 16:45:44,289 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - New connection accepted on /0.0.0.0:5555
2012-12-28 16:45:44,290 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Executing command Register(spray.io.ConnectionActors$$anon$1@160851e0)
2012-12-28 16:45:44,291 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Reading from connection
2012-12-28 16:45:44,291 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Read 175 bytes
2012-12-28 16:45:44,294 DEBUG c.p.api.PongrAPI$$anonfun$1$$anon$1 - GET /ping => 200 OK 'pongr' took 1 msec
2012-12-28 16:45:44,295 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Executing command Send(spray.io.ConnectionActors$$anon$1@160851e0,List(java.nio.HeapByteBuffer[pos=0 lim=152 cap=160]),None)
2012-12-28 16:45:44,295 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Writing to connection
2012-12-28 16:45:44,295 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Wrote 152 bytes
2012-12-28 16:45:44,355 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Reading from connection
2012-12-28 16:45:44,355 DEBUG spray.io.IOBridge com-pongr-api-PongrAPI-1 - Closing connection due to PeerClosed
2012-12-28 16:45:44,355 DEBUG spray.can.server.HttpServer com-pongr-api-PongrAPI-akka.actor.default-dispatcher-8 - Stopping connection actor, connection was closed due to PeerClosed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment