private void setupApplicationName() { final String appName = ServerProperties.getValue(getProperties(), ServerProperties.APPLICATION_NAME, null, String.class); if (appName != null && getApplicationName() == null) { setApplicationName(appName); } } }
@Override public ResourceConfig register(final Class<?> componentClass, final Class<?>... contracts) { invalidateCache(); state.register(componentClass, contracts); return this; }
private boolean disableValidation() { return ServerProperties.getValue(runtimeConfig.getProperties(), ServerProperties.RESOURCE_VALIDATION_DISABLE, Boolean.FALSE, Boolean.class); }
@Override public List<PathSegment> apply(ContainerRequest request) { return request.getUriInfo().getPathSegments(name, decode); } }
private void setupApplicationName() { final String appName = ServerProperties.getValue(getProperties(), ServerProperties.APPLICATION_NAME, null, String.class); if (appName != null && getApplicationName() == null) { setApplicationName(appName); } } }
private boolean ignoreValidationError() { return ServerProperties.getValue(runtimeConfig.getProperties(), ServerProperties.RESOURCE_VALIDATION_IGNORE_ERRORS, Boolean.FALSE, Boolean.class); }
@Override public ResourceConfig register(final Object component) { invalidateCache(); state.register(component); return this; }
private boolean ignoreValidationError() { return ServerProperties.getValue(runtimeConfig.getProperties(), ServerProperties.RESOURCE_VALIDATION_IGNORE_ERRORS, Boolean.FALSE, Boolean.class); }
@Override public ResourceConfig register(final Object component) { invalidateCache(); state.register(component); return this; }
private boolean disableValidation() { return ServerProperties.getValue(runtimeConfig.getProperties(), ServerProperties.RESOURCE_VALIDATION_DISABLE, Boolean.FALSE, Boolean.class); }
@Override public ResourceConfig register(final Object component, final int bindingPriority) { invalidateCache(); state.register(component, bindingPriority); return this; }
@Override public ResourceConfig register(final Class<?> componentClass) { invalidateCache(); state.register(componentClass); return this; }
@Override public ResourceConfig register(final Object component, final Class<?>... contracts) { invalidateCache(); state.register(component, contracts); return this; }
@Override public ResourceConfig register(final Class<?> componentClass, final int bindingPriority) { invalidateCache(); state.register(componentClass, bindingPriority); return this; }
@Override public ResourceConfig register(final Object component, final Map<Class<?>, Integer> contracts) { invalidateCache(); state.register(component, contracts); return this; }
@Override public ResourceConfig register(final Class<?> componentClass, final int bindingPriority) { invalidateCache(); state.register(componentClass, bindingPriority); return this; }
@Override public ResourceConfig register(final Class<?> componentClass, final Map<Class<?>, Integer> contracts) { invalidateCache(); state.register(componentClass, contracts); return this; }
@Override public ResourceConfig register(final Object component, final Map<Class<?>, Integer> contracts) { invalidateCache(); state.register(component, contracts); return this; }
@Override public ResourceConfig register(final Class<?> componentClass, final Class<?>... contracts) { invalidateCache(); state.register(componentClass, contracts); return this; }
@Override public ResourceConfig register(final Object component, final Class<?>... contracts) { invalidateCache(); state.register(component, contracts); return this; }