Package com.predic8.membrane.core.rules
Class SSLProxy
java.lang.Object
com.predic8.membrane.core.rules.SSLProxy
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getHost()getIp()getKey()getName()intgetPort()voidbooleanisActive()booleanbooleanbooleanbooleanvoidsetBlockRequest(boolean blockStatus) voidsetBlockResponse(boolean blockStatus) voidsetConnectionConfiguration(ConnectionConfiguration connectionConfiguration) voidvoidsetInterceptors(List<Interceptor> interceptors) voidvoidvoidvoidsetPort(int port) voidsetSslInterceptors(List<SSLInterceptor> sslInterceptors) voidsetTarget(SSLProxy.Target target) voidsetUseAsDefault(boolean useAsDefault)
-
Constructor Details
-
SSLProxy
public SSLProxy()
-
-
Method Details
-
getConnectionConfiguration
-
setConnectionConfiguration
-
getTarget
-
setTarget
-
getInterceptors
- Specified by:
getInterceptorsin interfaceRule
-
setInterceptors
- Specified by:
setInterceptorsin interfaceRule
-
getSslInterceptors
-
setSslInterceptors
-
isBlockRequest
public boolean isBlockRequest()- Specified by:
isBlockRequestin interfaceRule
-
isBlockResponse
public boolean isBlockResponse()- Specified by:
isBlockResponsein interfaceRule
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getIp
-
setIp
- Default
- not set
- Description
- If present, binds the port only on the specified IP. Useful for hosts with multiple IP addresses.
- Example
- 127.0.0.1
-
getHost
-
setHost
-
getKey
-
setKey
-
setName
-
getName
-
setBlockRequest
public void setBlockRequest(boolean blockStatus) - Specified by:
setBlockRequestin interfaceRule
-
setBlockResponse
public void setBlockResponse(boolean blockStatus) - Specified by:
setBlockResponsein interfaceRule
-
getStatisticCollector
- Specified by:
getStatisticCollectorin interfaceRule
-
getSslInboundContext
- Specified by:
getSslInboundContextin interfaceRule
-
getSslOutboundContext
- Specified by:
getSslOutboundContextin interfaceRule
-
init
-
isTargetAdjustHostHeader
public boolean isTargetAdjustHostHeader()- Specified by:
isTargetAdjustHostHeaderin interfaceRule
-
isActive
public boolean isActive() -
getErrorState
- Specified by:
getErrorStatein interfaceRule
-
clone
- Specified by:
clonein interfaceRule- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
isUseAsDefault
public boolean isUseAsDefault() -
setUseAsDefault
public void setUseAsDefault(boolean useAsDefault) - Default
- true
- Description
- whether to use the SSLContext built from this SSLProxy when no SNI header was transmitted.
-