X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Frest%2FRestClient.java;h=5f827a9290d54c8f76c8e1534cc9a55a412e59dc;hb=77abb3fac2965a8966410cd77cd749c7c1dc6453;hp=21b9e532146edf7917225f17cef5e0c665009433;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/src/jalview/ws/rest/RestClient.java b/src/jalview/ws/rest/RestClient.java index 21b9e53..5f827a9 100644 --- a/src/jalview/ws/rest/RestClient.java +++ b/src/jalview/ws/rest/RestClient.java @@ -81,8 +81,11 @@ public class RestClient extends WSClient implements WSClientI, { this(service2, alignFrame, false); } + boolean headless = false; - public RestClient(RestServiceDescription service2, AlignFrame alignFrame, boolean nogui) + + public RestClient(RestServiceDescription service2, AlignFrame alignFrame, + boolean nogui) { service = service2; af = alignFrame; @@ -228,6 +231,7 @@ public class RestClient extends WSClient implements WSClientI, * informative name for results */ public String viewTitle; + protected void constructJob() { service.setInvolvesFlags(); @@ -294,7 +298,8 @@ public class RestClient extends WSClient implements WSClientI, if (jobsthread.isValid()) { setWebserviceInfo(headless); - if (!headless) { + if (!headless) + { wsInfo.setthisService(this); jobsthread.setWebServiceInfo(wsInfo); }