Package com.vaadin.testbench.unit.mocks
Object MockHttpEnvironment
-
- All Implemented Interfaces:
public class MockHttpEnvironment
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerlocalPortprivate IntegerserverPortprivate IntegerremotePortprivate StringauthTypeprivate BooleanisSecurepublic final static MockHttpEnvironmentINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetLocalPort()MockRequest.getLocalPort final UnitsetLocalPort(Integer localPort)MockRequest.getLocalPort final IntegergetServerPort()MockRequest.getServerPort final UnitsetServerPort(Integer serverPort)MockRequest.getServerPort final IntegergetRemotePort()MockRequest.getRemotePort final UnitsetRemotePort(Integer remotePort)MockRequest.getRemotePort final StringgetAuthType()MockRequest.getAuthType final UnitsetAuthType(String authType)MockRequest.getAuthType final BooleanisSecure()MockRequest.isSecure final UnitsetSecure(Boolean isSecure)MockRequest.isSecure -
-
Method Detail
-
getLocalPort
final Integer getLocalPort()
-
setLocalPort
final Unit setLocalPort(Integer localPort)
-
getServerPort
final Integer getServerPort()
-
setServerPort
final Unit setServerPort(Integer serverPort)
-
getRemotePort
final Integer getRemotePort()
-
setRemotePort
final Unit setRemotePort(Integer remotePort)
-
getAuthType
final String getAuthType()
-
setAuthType
final Unit setAuthType(String authType)
-
-
-
-