public static Builder create( Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
public static Builder create( Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
/** * Creates the builder with the mandatory information of the endpoint class (programmatic or annotated), the * relative URI or URI-template to use, and with no subprotocols, extensions, encoders, decoders or custom * configurator. * * @param endpointClass the class of the endpoint to configure * @param path The URI or URI template where the endpoint will be deployed. A trailing "/" will be * ignored and the path must begin with /. * @return a new instance of ServerEndpointConfig.Builder */ public static Builder create(Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
/** * Creates the builder with the mandatory information of the endpoint class * (programmatic or annotated), the relative URI or URI-template to use, * and with no subprotocols, extensions, encoders, decoders or custom * configurator. * @param endpointClass the class of the endpoint to configure * @param path The URI or URI template where the endpoint will be deployed. * A trailing "/" will be ignored and the path must begin with /. * @return a new instance of ServerEndpointConfig.Builder */ public static Builder create(Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
public static Builder create( Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
/** * Creates the builder with the mandatory information of the endpoint class * (programmatic or annotated), the relative URI or URI-template to use, * and with no subprotocols, extensions, encoders, decoders or custom * configurator. * @param endpointClass the class of the endpoint to configure * @param path The URI or URI template where the endpoint will be deployed. * A trailing "/" will be ignored and the path must begin with /. * @return a new instance of ServerEndpointConfig.Builder */ public static Builder create(Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
/** * Creates the builder with the mandatory information of the endpoint class * (programmatic or annotated), the relative URI or URI-template to use, * and with no subprotocols, extensions, encoders, decoders or custom * configurator. * @param endpointClass the class of the endpoint to configure * @param path The URI or URI template where the endpoint will be deployed. * A trailing "/" will be ignored and the path must begin with /. * @return a new instance of ServerEndpointConfig.Builder */ public static Builder create(Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }
/** * Creates the builder with the mandatory information of the endpoint class * (programmatic or annotated), the relative URI or URI-template to use, * and with no subprotocols, extensions, encoders, decoders or custom * configurator. * @param endpointClass the class of the endpoint to configure * @param path The URI or URI template where the endpoint will be deployed. * A trailing "/" will be ignored and the path must begin with /. * @return a new instance of ServerEndpointConfig.Builder */ public static Builder create(Class<?> endpointClass, String path) { return new Builder(endpointClass, path); }