public class HttpPortImpl extends AbstractClientAuthCapablePortWithAuthProvider<HttpPortImpl> implements HttpPort<HttpPortImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
DEFAULT_AMQP_NEED_CLIENT_AUTH, DEFAULT_AMQP_WANT_CLIENT_AUTH
SECURED_STRING_VALUE
DEFAULT_HTTP_NEED_CLIENT_AUTH, DEFAULT_HTTP_WANT_CLIENT_AUTH, DEFAULT_PORT_HTTP_ADDITIONAL_INTERNAL_THREADS, DEFAULT_PORT_HTTP_MAXIMUM_QUEUED_REQUESTS, DEFAULT_PORT_HTTP_THREAD_POOL_MAXIMUM, DEFAULT_PORT_HTTP_THREAD_POOL_MINIMUM, PORT_HTTP_ADDITIONAL_INTERNAL_THREADS, PORT_HTTP_MAXIMUM_QUEUED_REQUESTS, PORT_HTTP_THREAD_POOL_MAXIMUM, PORT_HTTP_THREAD_POOL_MINIMUM, THREAD_POOL_MAXIMUM, THREAD_POOL_MINIMUM
AUTHENTICATION_PROVIDER, BINDING_ADDRESS, CLASS_DESCRIPTION, CONNECTION_MAXIMUM_AUTHENTICATION_DELAY, DEFAULT_MAX_CONNECTION_AUTHENTICATION_DELAY, KEY_STORE, NEED_CLIENT_AUTH, PORT, PROTOCOLS, TCP_NO_DELAY, TRANSPORTS, TRUST_STORES, WANT_CLIENT_AUTH
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
Constructor and Description |
---|
HttpPortImpl(Map<String,Object> attributes,
Broker<?> broker) |
Modifier and Type | Method and Description |
---|---|
String |
getBindingAddress() |
int |
getThreadPoolMaximum() |
int |
getThreadPoolMinimum() |
protected State |
onActivate() |
void |
onValidate()
Validation performed for configured object creation and opening.
|
void |
setPortManager(PortManager manager) |
protected void |
validateChange(ConfiguredObject<?> proxyForValidation,
Set<String> changedAttributes) |
void |
validateOnCreate() |
getClientCertRecorder, getNeedClientAuth, getWantClientAuth
getAuthenticationProvider
activate, getConnections, getKeyStore, getPort, getProtocols, getTlsCipherSuiteBlackList, getTlsCipherSuiteWhiteList, getTlsProtocolBlackList, getTlsProtocolWhiteList, getTransports, getTrustStores, hasNonTLSTransport, hasNonTLSTransport, isUsingTLSTransport, isUsingTLSTransport, onOpen, toString, validateOnlyOneInstance
addChangeListener, addChildAsync, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAuthenticationProvider, getClientCertRecorder, getNeedClientAuth, getProtocols, getTransports, getWantClientAuth
getConnections, getKeyStore, getPort, getTlsCipherSuiteBlackList, getTlsCipherSuiteWhiteList, getTlsProtocolBlackList, getTlsProtocolWhiteList, getTrustStores, start, startAsync
addChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
public void setPortManager(PortManager manager)
setPortManager
in interface HttpPort<HttpPortImpl>
public String getBindingAddress()
getBindingAddress
in interface HttpPort<HttpPortImpl>
public int getThreadPoolMaximum()
getThreadPoolMaximum
in interface HttpPort<HttpPortImpl>
public int getThreadPoolMinimum()
getThreadPoolMinimum
in interface HttpPort<HttpPortImpl>
protected State onActivate()
onActivate
in class AbstractPort<HttpPortImpl>
public void onValidate()
AbstractConfiguredObject
onValidate
in class AbstractClientAuthCapablePortWithAuthProvider<HttpPortImpl>
public void validateOnCreate()
validateOnCreate
in class AbstractConfiguredObject<HttpPortImpl>
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange
in class AbstractClientAuthCapablePortWithAuthProvider<HttpPortImpl>
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.