Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
org.refcodes.net.impls |
This package contains implementations of the types defined by this artifact.
|
Modifier and Type | Class and Description |
---|---|
class |
PortAlreadyBoundRuntimeException
Thrown in case the given port
PortAlreadyBoundRuntimeException.getPort() is already in use. |
Modifier and Type | Method and Description |
---|---|
Integer |
PortManager.bindAnyPort()
Any free port in the range as defined by
PortRange.DYNAMIC_PORTS
is bound (reserved) and returned. |
default Integer |
PortManager.bindNextPort(int aBeginPortIndex)
The first free port in the range of the given Port-Number and the
PortRange.DYNAMIC_PORTS max port number (as of
PortRange.getMaxValue() ) bound (reserved) and returned. |
Integer |
PortManager.bindNextPort(int aBeginPortIndex,
int aEndPortIndex)
The first free port in the range of the given begin Port-Number index and
the given end Port-Number index is bound (reserved) and returned.
|
Modifier and Type | Method and Description |
---|---|
Integer |
PortManagerImpl.bindAnyPort() |
Integer |
PortManagerImpl.bindNextPort(int aBeginPortIndex,
int aEndPortIndex) |
Copyright © 2017. All rights reserved.