Builder function ( int arg0 ) { if ( ! VALID_PORT_RANGE . contains ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } if ( ! isPortAvailable ( arg0 ) ) { throw new RuntimeException ( "srini_string" + arg0 ) ; } this . port = arg0 ; return this ; }
use a fixed port , otherwise the port is randomly chosen from a range of oauthtokenweblistener #port_lower and oauthtokenweblistener #port_upper . concode_field_sep Undertow server concode_elem_sep int PORT_LOWER concode_elem_sep List<InetAddress> allowedClients concode_elem_sep List<InetAddress> allowedClients concode_elem_sep OAuthTokenExtractor extractor concode_elem_sep OAuthTokenInterceptor interceptor concode_elem_sep int PORT_UPPER concode_elem_sep Logger logger concode_elem_sep SynchronousQueue<Object> ioQueue concode_elem_sep Range<Integer> VALID_PORT_RANGE concode_elem_sep int port concode_elem_sep String PATH_PREFIX concode_elem_sep String id concode_elem_sep SynchronousQueue<Object> queue concode_field_sep Builder addAllowedClient concode_elem_sep URI start concode_elem_sep void createServer concode_elem_sep Builder setTokenExtractor concode_elem_sep Builder setTokenInterceptor concode_elem_sep OAuthTokenFinish call concode_elem_sep void stop concode_elem_sep OAuthTokenWebListener build concode_elem_sep boolean isPortAvailable concode_elem_sep Future<OAuthTokenFinish> getToken concode_elem_sep String getPathPrefix concode_elem_sep Builder setId concode_elem_sep void finalize concode_elem_sep String createPath concode_elem_sep void handleRequest concode_elem_sep Builder forMode