MVN

com.rogiel.httpchannel : httpchannel-api

Maven & Gradle

Jan 18, 2012
4 usages

HttpChannel/API · Module that defines the HttpChannel API. HttpChannels abstract complex download and upload steps into a simple and easy to use NIO Channel. NIO Channels can be wrapped into an InputStream or OutputStream and used in any way you may find possible to. Aside from that, Channels can be used natively in most next-gen libraries, meaning that you don't even need to wrap anything, just start writing or reading data to or from the channel wth a ByteBuffer. Anyone using the library should try to rely on code from this module only and, only if necessary, on configuration classes that are implementation specific. Relying on any other resource or class is considered an error and should NOT be done. One of the most interesting usages of channels for uploads and download is that you can easily copy data straight from one channel to the other, with less than 10 lines of code! Also, channels allows the implementation of a "tee" mechanism, in which data redden from a single channel can be copied to several other channels on the fly!

<dependency>
    <groupId>com.rogiel.httpchannel</groupId>
    <artifactId>httpchannel-api</artifactId>
    <version>1.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.rogiel.httpchannel : httpchannel-api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.0

All Versions

Choose a version of com.rogiel.httpchannel : httpchannel-api to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
httpchannel-api-1.0.0

How to add a dependency to Maven

Add the following com.rogiel.httpchannel : httpchannel-api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.rogiel.httpchannel</groupId>
    <artifactId>httpchannel-api</artifactId>
    <version>1.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.rogiel.httpchannel : httpchannel-api gradle dependency to your build.gradle file:

implementation 'com.rogiel.httpchannel:httpchannel-api:1.0.0'

Gradle Kotlin DSL: Add the following com.rogiel.httpchannel : httpchannel-api gradle kotlin dependency to your build.gradle.kts file:

implementation("com.rogiel.httpchannel:httpchannel-api:1.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.rogiel.httpchannel : httpchannel-api sbt scala dependency to your build.sbt file:

libraryDependencies += "com.rogiel.httpchannel" % "httpchannel-api" % "1.0.0"