Provides a basic welcome to the Apache Tika Server.
5556575859606162
this.destination = destination; } @Override public IoFuture<Connection> connect() throws IOException { final Endpoint endpoint = this.endpointInjectedValue.getValue(); return endpoint.connect(this.destination, this.connectionCreationOptions, getCallbackHandler()); }
808182838485868788
safeClose(endpoint); } /** {@inheritDoc} */ public synchronized Endpoint getValue() throws IllegalStateException { final Endpoint endpoint = this.endpoint; if (endpoint == null) throw new IllegalStateException(); return endpoint; }
46474849505152535455
{ URL wsdlURL = new URL(endpointURL + "?wsdl"); QName serviceName = new QName(targetNS, "EndpointService"); Service service = Service.create(wsdlURL, serviceName); Endpoint port = (Endpoint)service.getPort(Endpoint.class); Object retObj = port.echo("Hello"); assertEquals("Hello", retObj); }
43444546474849505152