package ccf.transport.http

import java.io.IOException
import java.net.URL

trait Http {
  @throws(classOf[IOException])
  def post[T](url: URL, data: String)(block: String => T): T
}

Add HTTP access point interface
transport: Add HTTP access point interface

HTTP access point is introduced for isolating low-level HTTP operations
from HTTP connection. It is assumed that low-level HTTP operations may
result into IOExceptions, and it is the responsbility of higher level
abstractions to process low-level exceptions.

Signed-off-by: Karim Osman <94396faf6cc817be76165477038b3cfa832e89a4@reaktor.fi>
Acked-by: Harri Salokorpi <eefb23b8deb8c30dca252cd0ae751b67337dc69f@reaktor.fi>
