/** * Gets the full-form httpinvoker label from the case-insensitive short-name. * @param name the case-insensitive short-name * @return the full-form httpinvoker label */ public static final String toLabel(String name) { HttpInvokerLabel label = ofName(name); return label != null ? label.label() : null; }
private HttpInvokerLabel() { _label = Label.Util.toSwitchYardLabel("httpinvoker", name()); }
/** * Prints all known httpinvoker labels. * @param args ignored */ public static void main(String... args) { Label.Util.print(values()); } }
prop.addLabels(HttpInvokerLabel.HEADER.label());
conn.setDoOutput(true); conn.addRequestProperty(SERVICE_HEADER, request.getService().toString()); for (Property prop : request.getContext().getProperties(HttpInvokerLabel.HEADER.label())) { conn.addRequestProperty(prop.getName(), prop.getValue().toString());
.addLabels(BehaviorLabel.TRANSIENT.label(), HttpInvokerLabel.HEADER.label());
.addLabels(BehaviorLabel.TRANSIENT.label(), HttpInvokerLabel.HEADER.label());