
org.jvnet.jax_ws_commons.json.JSONBindingID Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxws-json Show documentation
Show all versions of jaxws-json Show documentation
Simplifies the development of services that are tied to Thread scope.
package org.jvnet.jax_ws_commons.json;
import com.sun.istack.NotNull;
import com.sun.xml.ws.api.BindingID;
import com.sun.xml.ws.api.SOAPVersion;
import com.sun.xml.ws.api.WSBinding;
import com.sun.xml.ws.api.pipe.Codec;
/**
* @author Jitendra Kotamraju
*/
public class JSONBindingID extends BindingID {
public static final String JSON_BINDING = "https://jax-ws-commons.dev.java.net/json/";
public SOAPVersion getSOAPVersion() {
return SOAPVersion.SOAP_11;
}
public @NotNull Codec createEncoder(@NotNull WSBinding binding) {
return new JSONCodec(binding);
}
public String toString() {
return JSON_BINDING;
}
@Override
public boolean canGenerateWSDL() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy