@Deprecated public class HttpsServer extends AbstractState<CloseableObjectState,ServiceResultException> implements EndpointServer
| Modifier and Type | Class and Description |
|---|---|
class |
HttpsServer.HttpsEndpointHandle
Deprecated.
|
class |
HttpsServer.SocketHandle
Deprecated.
|
EndpointServer.EndpointHandle, EndpointServer.ReverseEndpointHandleConnectionMonitor.ConnectListener| Modifier and Type | Field and Description |
|---|---|
static org.apache.http.params.HttpParams |
DEFAULT_HTTPPARAMS
Deprecated.
Constant
DEFAULT_HTTPPARAMS |
discoveryEndpoint| Constructor and Description |
|---|
HttpsServer(Application application)
Deprecated.
Constructor for HttpsServer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionListener(ConnectionMonitor.ConnectListener l)
Deprecated.
addConnectionListener.
|
EndpointServer.EndpointHandle |
bind(SocketAddress socketAddress,
EndpointBinding endpointBinding)
Deprecated.
Bind an endpoint to a handle.
|
EndpointServer.ReverseEndpointHandle |
bindReverse(SocketAddress addressToConnect,
ReverseConnectionParameters parameters,
ScheduledExecutorService retryScheduledExecutorService)
Deprecated.
Binds a ReverseHello connection point.
|
CloseableObject |
close()
Deprecated.
close.
|
List<SocketAddress> |
getBoundSocketAddresses()
Deprecated.
getBoundSocketAddresses.
|
void |
getConnections(Collection<ServerConnection> result)
Deprecated.
getConnections.
|
EncoderContext |
getEncoderContext()
Deprecated.
getEncoderContext.
|
EndpointBindingCollection |
getEndpointBindings()
Deprecated.
Get a collection that contains related endpoints bindings.
|
HttpsSettings |
getHttpsSettings()
Deprecated.
getHttpsSettings.
|
Collection<HttpsSecurityPolicy> |
getSupportedSecurityPolicies()
Deprecated.
getSupportedSecurityPolicies.
|
int |
getWorkerThreadCount()
Deprecated.
getWorkerThreadCount.
|
protected void |
initReactor()
Deprecated.
initReactor.
|
static TrustManager[] |
makeTrustManager(CertificateValidator... validators)
Deprecated.
makeTrustManager.
|
void |
removeConnectionListener(ConnectionMonitor.ConnectListener l)
Deprecated.
removeConnectionListener.
|
void |
setWorkerThreadCount(int workerThreadCount)
Deprecated.
Set worker thread count.
|
protected void |
shutdownReactor()
Deprecated.
shutdownReactor.
|
HttpsServer.SocketHandle[] |
socketHandleSnapshot()
Deprecated.
socketHandleSnapshot.
|
String |
toString()
Deprecated.
|
addStateListener, addStateNotifiable, attemptSetState, clearError, getError, getState, hasError, isStateTransitionAllowed, onListenerException, onStateTransition, removeStateListener, removeStateNotifiable, setError, setState, setState, throwIfError, waitForState, waitForState, waitForStateUninterruptiblyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddStateListener, addStateNotifiable, getError, getState, removeStateListener, removeStateNotifiable, waitForState, waitForState, waitForStateUninterruptiblypublic static final org.apache.http.params.HttpParams DEFAULT_HTTPPARAMS
DEFAULT_HTTPPARAMSpublic HttpsServer(Application application) throws ServiceResultException
Constructor for HttpsServer.
application - a Application object.ServiceResultException - if any.public static TrustManager[] makeTrustManager(CertificateValidator... validators)
makeTrustManager.
validators - a CertificateValidator
object.TrustManager objects.public void addConnectionListener(ConnectionMonitor.ConnectListener l)
addConnectionListener.
addConnectionListener in interface ConnectionMonitorl - a ConnectionMonitor.ConnectListener object.public EndpointServer.EndpointHandle bind(SocketAddress socketAddress, EndpointBinding endpointBinding) throws ServiceResultException
bind in interface EndpointServersocketAddress - a SocketAddress object.endpointBinding - a EndpointBinding object.EndpointServer.EndpointHandle object.ServiceResultException - if any.public EndpointServer.ReverseEndpointHandle bindReverse(SocketAddress addressToConnect, ReverseConnectionParameters parameters, ScheduledExecutorService retryScheduledExecutorService)
EndpointServerbindReverse in interface EndpointServerpublic CloseableObject close()
close.
close in interface CloseableObjectCloseableObject object.public List<SocketAddress> getBoundSocketAddresses()
getBoundSocketAddresses.
getBoundSocketAddresses in interface EndpointServerList object.public void getConnections(Collection<ServerConnection> result)
getConnections.
getConnections in interface ConnectionMonitorresult - a Collection object.public EncoderContext getEncoderContext()
getEncoderContext.
getEncoderContext in interface EndpointServerEncoderContext object.public EndpointBindingCollection getEndpointBindings()
getEndpointBindings in interface EndpointServerpublic HttpsSettings getHttpsSettings()
getHttpsSettings.
HttpsSettings object.public Collection<HttpsSecurityPolicy> getSupportedSecurityPolicies()
getSupportedSecurityPolicies.
Collection object.public int getWorkerThreadCount()
getWorkerThreadCount.
setWorkerThreadCount(int)public void removeConnectionListener(ConnectionMonitor.ConnectListener l)
removeConnectionListener.
removeConnectionListener in interface ConnectionMonitorl - a ConnectionMonitor.ConnectListener object.public void setWorkerThreadCount(int workerThreadCount)
workerThreadCount - a int.public HttpsServer.SocketHandle[] socketHandleSnapshot()
socketHandleSnapshot.
HttpsServer.SocketHandle
objects.protected void initReactor()
throws ServiceResultException
initReactor.
ServiceResultException - if any.protected void shutdownReactor()
shutdownReactor.
Copyright © 2026. All rights reserved.