Retrieves a restricted proxy policy handler for a given policy id.

@param id the Oid of the proxy policy to get the handler for.
@return <code>ProxyPolicyHandler</code> the policy handler
registered for the given id or null if none is
registered.
761875
public ProxyPolicyHandler getProxyPolicyHandler(String id) {
    return (id != null && this.proxyPolicyHandlers != null) ?
        (ProxyPolicyHandler)this.proxyPolicyHandlers.get(id) :
        null;
    }
844114
function(id) {
            if (handler.getProxy && handler.getProxy(id)) {
                return handler.getProxy(id).referenceBlob;
            }

            return handler.getFile && handler.getFile(id);
        }
696856
public static channel_binding get(nitro_service service, String id) throws Exception{
		channel_binding obj = new channel_binding();
		obj.set_id(id);
		channel_binding response = (channel_binding) obj.get_resource(service);
		return response;
	}
1121564
private Response<SearchResult> searchForServiceById(final Long id) throws LdapException {
        val filter = LdapUtils.newLdaptiveSearchFilter(this.searchFilter,
            LdapUtils.LDAP_SEARCH_FILTER_DEFAULT_PARAM_NAME, CollectionUtils.wrap(id.toString()));
        return LdapUtils.executeSearchOperation(this.connectionFactory, this.baseDn, filter);
    }
583293
function (id) {
        var proxy = CommandProxyMap[id];
        delete CommandProxyMap[id];
        CommandProxyMap[id] = null;
        return proxy;
    }
28837
@Nullable
    private AuthorizationInfo getAuthorizationInfoById(String id) {
        AuthorizationInfo authorizationInfo;

        // Search the cache first
        Cache<String, AuthorizationInfo> idAuthorizationCache = getAvailableIdAuthorizationCache();

        if (idAuthorizationCache != null) {
            authorizationInfo = idAuthorizationCache.get(id);

            if (authorizationInfo != null) {
                // Check whether it is the stand-in "null" cached value
                if (authorizationInfo != _nullAuthorizationInfo) {
                    _log.debug("Authorization info found cached for id {}", id);
                    return authorizationInfo;
                } else {
                    _log.debug("Authorization info previously cached as not found for id {}", id);
                    return null;
                }
            }
        }

        authorizationInfo = getUncachedAuthorizationInfoById(id);
        cacheAuthorizationInfoById(id, authorizationInfo);
        return authorizationInfo;
    }
865484
private ProxyLogicHandler getProxyHandler(final IoSession session) {
        ProxyLogicHandler handler = ((ProxyIoSession) session
                .getAttribute(ProxyIoSession.PROXY_SESSION)).getHandler();

        if (handler == null) {
            throw new IllegalStateException();
        }

        // Sanity check
        if (handler.getProxyIoSession().getProxyFilter() != this) {
            throw new IllegalArgumentException("Not managed by this filter.");
        }

        return handler;
    }
947430
public static vrid_binding get(nitro_service service, Long id) throws Exception{
		vrid_binding obj = new vrid_binding();
		obj.set_id(id);
		vrid_binding response = (vrid_binding) obj.get_resource(service);
		return response;
	}
716645
public synchronized static <T> T get(Object id)
    {
        SoftReference reference = pool.get(id);
        if (reference == null) return null;
        return (T) reference.get();
    }
1122599
public Optional<DTO> get(String id) {
        return Optional.ofNullable(db.findOneById(new ObjectId(id)));
    }
1361561
public Optional<Server> getPossiblyUnreadyServerById(long id) {
        if (nonReadyServers.containsKey(id)) {
            return Optional.ofNullable(nonReadyServers.get(id));
        }
        return Optional.ofNullable(servers.get(id));
    }
1275956
public TimerService get(String id) {
        if (id == null) {
            return null;
        }
        return this.registeredServices.get(id);
    }
1094910
public Document getDocument(@NonNull String id) {
        if (id == null) { throw new IllegalArgumentException("id cannot be null."); }

        synchronized (lock) {
            mustBeOpen();
            try {
                return new Document((Database) this, id, false);
            }
            catch (CouchbaseLiteException ex) {
                // only 404 - Not Found error throws CouchbaseLiteException
                return null;
            }
        }
    }
86483
private Response<SearchResult> searchForId(final String id) throws LdapException {
        val filter = LdapUtils.newLdaptiveSearchFilter(this.searchFilter,
            LdapUtils.LDAP_SEARCH_FILTER_DEFAULT_PARAM_NAME,
            CollectionUtils.wrap(id));
        return LdapUtils.executeSearchOperation(this.connectionFactory, this.baseDn, filter);
    }
969566
public static @CheckForNull Permission fromId(@Nonnull String id) {
        int idx = id.lastIndexOf('.');
        if(idx<0)   return null;

        try {
            // force the initialization so that it will put all its permissions into the list.
            Class cl = Class.forName(id.substring(0,idx),true, Jenkins.getInstance().getPluginManager().uberClassLoader);
            PermissionGroup g = PermissionGroup.get(cl);
            if(g ==null)  return null;
            return g.find(id.substring(idx+1));
        } catch (ClassNotFoundException e) {
            return null;
        }
    }
510848
public QueryResponse<RegulatoryFeature> getRegulatory(String id, QueryOptions options) throws IOException {
        return execute(id, "regulatory", options, RegulatoryFeature.class);
    }
946538
@Nullable
    public static StreamCipherProvider getProvider(@NotNull final String id) {
        for (final StreamCipherProvider provider : ServiceLoader.load(StreamCipherProvider.class)) {
            if (id.equalsIgnoreCase(provider.getId())) {
                return provider;
            }
        }
        return null;
    }