Skip to content

Commit

Permalink
Refactor module packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Sep 24, 2023
1 parent 3a1cb2a commit 35b41f4
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions http/http_client_jetty_ws/api/http_client_jetty_ws.api
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public final class com/hexagonkt/http/client/jetty/JettyClientWsSession : com/hexagonkt/http/model/ws/WsSession {
public final class com/hexagonkt/http/client/jetty/ws/JettyClientWsSession : com/hexagonkt/http/model/ws/WsSession {
public fun <init> (Ljava/net/URI;Lorg/eclipse/jetty/websocket/api/Session;)V
public fun close (ILjava/lang/String;)V
public fun getAttributes ()Ljava/util/Map;
Expand All @@ -12,15 +12,15 @@ public final class com/hexagonkt/http/client/jetty/JettyClientWsSession : com/he
public fun send ([B)V
}

public final class com/hexagonkt/http/client/jetty/JettyWebSocketAdapter {
public final class com/hexagonkt/http/client/jetty/ws/JettyWebSocketAdapter {
public fun <init> (Ljava/net/URI;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function3;)V
public final fun onWebSocketBinary (Lorg/eclipse/jetty/websocket/api/Session;Ljava/nio/ByteBuffer;Lorg/eclipse/jetty/websocket/api/Callback;)V
public final fun onWebSocketClose (Lorg/eclipse/jetty/websocket/api/Session;ILjava/lang/String;)V
public final fun onWebSocketConnect (Lorg/eclipse/jetty/websocket/api/Session;)V
public final fun onWebSocketText (Lorg/eclipse/jetty/websocket/api/Session;Ljava/lang/String;)V
}

public final class com/hexagonkt/http/client/jetty/JettyWsClientAdapter : com/hexagonkt/http/client/jetty/JettyClientAdapter {
public final class com/hexagonkt/http/client/jetty/ws/JettyWsClientAdapter : com/hexagonkt/http/client/jetty/JettyClientAdapter {
public fun <init> ()V
public fun shutDown ()V
public fun startUp (Lcom/hexagonkt/http/client/HttpClient;)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hexagonkt.http.client.jetty
package com.hexagonkt.http.client.jetty.ws

import com.hexagonkt.http.model.HttpRequestPort
import com.hexagonkt.http.model.ws.WsSession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hexagonkt.http.client.jetty
package com.hexagonkt.http.client.jetty.ws

import com.hexagonkt.http.model.ws.WsSession
import org.eclipse.jetty.websocket.api.Callback
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.hexagonkt.http.client.jetty
package com.hexagonkt.http.client.jetty.ws

import com.hexagonkt.core.urlOf
import com.hexagonkt.http.client.HttpClient
import com.hexagonkt.http.client.jetty.JettyClientAdapter
import com.hexagonkt.http.model.ws.WsSession
import org.eclipse.jetty.websocket.client.WebSocketClient
import java.net.URI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hexagonkt.http.client.jetty
package com.hexagonkt.http.client.jetty.ws

import com.hexagonkt.http.client.HttpClient
import com.hexagonkt.http.model.HttpRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.hexagonkt.core.media.TEXT_PLAIN
import com.hexagonkt.core.urlOf
import com.hexagonkt.http.client.HttpClient
import com.hexagonkt.http.client.HttpClientSettings
import com.hexagonkt.http.client.jetty.JettyWsClientAdapter
import com.hexagonkt.http.client.jetty.ws.JettyWsClientAdapter
import com.hexagonkt.http.model.ContentType
import com.hexagonkt.http.model.OK_200
import com.hexagonkt.http.handlers.path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.eclipse.jetty.ee10.servlet.ServletContextHandler
import java.util.*
import com.hexagonkt.http.client.HttpClient
import com.hexagonkt.http.client.HttpClientSettings
import com.hexagonkt.http.client.jetty.JettyWsClientAdapter
import com.hexagonkt.http.client.jetty.ws.JettyWsClientAdapter
import com.hexagonkt.http.model.HttpMethod.GET
import com.hexagonkt.http.model.ws.NORMAL
import com.hexagonkt.http.server.HttpServer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.hexagonkt.http.server.netty

import com.hexagonkt.http.client.jetty.JettyWsClientAdapter
import com.hexagonkt.http.client.jetty.ws.JettyWsClientAdapter
import com.hexagonkt.http.test.examples.*
import com.hexagonkt.serialization.jackson.JacksonTextFormat
import com.hexagonkt.serialization.jackson.json.Json
Expand Down

0 comments on commit 35b41f4

Please sign in to comment.