/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
final String remoteUserMapping = http.getRemoteUserMapping(); if (scheme != null || schemeMapping != null || remoteUserMapping != null) { final BackendConfiguration backendConfiguration = new BackendConfiguration(); if (schemeMapping == null) { backendConfiguration.setScheme(scheme); } else { backendConfiguration.setSchemeMapping(schemeMapping); backendConfiguration.setRemoteUserMapping(remoteUserMapping); serverFilterConfiguration.setBackendConfiguration(backendConfiguration);
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(final String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }
/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }
/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }
/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(final String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }
/** * Set the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @param scheme the HTTP request scheme * * @since 2.2.4 */ public void setScheme(String scheme) { BackendConfiguration config = backendConfiguration; if (config == null) { config = new BackendConfiguration(); } config.setScheme(scheme); this.backendConfiguration = config; }
if (backendConfiguration.getScheme() != null) { scheme = backendConfiguration.getScheme(); } else if (backendConfiguration.getSchemeMapping() != null) { scheme = request.getHeader(backendConfiguration.getSchemeMapping()); && backendConfiguration.getRemoteUserMapping() != null) { remoteUser.setString(request.getHeader( backendConfiguration.getRemoteUserMapping()));
/** * Get the HTTP request scheme, which if non-null overrides default one * picked up by framework during runtime. * * @return the HTTP request scheme * * @since 2.2.4 */ public String getScheme() { final BackendConfiguration config = backendConfiguration; return config != null ? config.getScheme() : null; }