@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * @param \AppserverIo\Psr\Socket\SocketInterface $connection The connection to handle |
276 | 276 | * @param \AppserverIo\Server\Interfaces\WorkerInterface $worker The worker how started this handle |
277 | 277 | * |
278 | - * @return bool Weather it was responsible to handle the firstLine or not. |
|
278 | + * @return boolean|null Weather it was responsible to handle the firstLine or not. |
|
279 | 279 | */ |
280 | 280 | public function handle(SocketInterface $connection, WorkerInterface $worker) |
281 | 281 | { |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | * Logs with an arbitrary level. |
369 | 369 | * |
370 | 370 | * @param string $message The message to log |
371 | - * @param mixed $params The params to export |
|
371 | + * @param Interfaces\FrameInterface $params The params to export |
|
372 | 372 | * @param string $level The level to log |
373 | 373 | * |
374 | 374 | * @return void |
@@ -15,9 +15,6 @@ discard block |
||
15 | 15 | |
16 | 16 | namespace AppserverIo\Stomp; |
17 | 17 | |
18 | -use AppserverIo\Server\Dictionaries\EnvVars; |
|
19 | -use AppserverIo\Server\Dictionaries\ModuleHooks; |
|
20 | -use AppserverIo\Server\Dictionaries\ServerVars; |
|
21 | 18 | use AppserverIo\Server\Interfaces\ConnectionHandlerInterface; |
22 | 19 | use AppserverIo\Server\Interfaces\ServerContextInterface; |
23 | 20 | use AppserverIo\Server\Interfaces\RequestContextInterface; |
@@ -26,16 +23,6 @@ discard block |
||
26 | 23 | use AppserverIo\Stomp\Utils\ErrorMessages; |
27 | 24 | use AppserverIo\WebServer\Interfaces\HttpModuleInterface; |
28 | 25 | use AppserverIo\Psr\Socket\SocketInterface; |
29 | -use AppserverIo\Psr\Socket\SocketReadException; |
|
30 | -use AppserverIo\Psr\Socket\SocketReadTimeoutException; |
|
31 | -use AppserverIo\Psr\Socket\SocketServerException; |
|
32 | -use AppserverIo\Psr\HttpMessage\Protocol; |
|
33 | -use AppserverIo\Http\HttpRequest; |
|
34 | -use AppserverIo\Http\HttpResponse; |
|
35 | -use AppserverIo\Http\HttpPart; |
|
36 | -use AppserverIo\Http\HttpQueryParser; |
|
37 | -use AppserverIo\Http\HttpRequestParser; |
|
38 | -use AppserverIo\Http\HttpResponseStates; |
|
39 | 26 | use AppserverIo\Stomp\Interfaces\ProtocolHandlerInterface; |
40 | 27 | use Psr\Log\LogLevel; |
41 | 28 |