Java Code Examples for javax.xml.ws.http.HTTPBinding#HTTP_BINDING
The following examples show how to use
javax.xml.ws.http.HTTPBinding#HTTP_BINDING .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DeploymentDescriptorParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 2
Source File: DeploymentDescriptorParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 3
Source File: DeploymentDescriptorParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 4
Source File: DeploymentDescriptorParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 5
Source File: DeploymentDescriptorParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 6
Source File: DeploymentDescriptorParser.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 7
Source File: DeploymentDescriptorParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }
Example 8
Source File: DeploymentDescriptorParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * JSR-109 defines short-form tokens for standard binding Ids. These are * used only in DD. So stand alone deployment descirptor should also honor * these tokens. This method converts the tokens to API's standard * binding ids * * @param lexical binding attribute value from DD. Always not null * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { if (lexical.equals("##SOAP11_HTTP")) { return SOAPBinding.SOAP11HTTP_BINDING; } else if (lexical.equals("##SOAP11_HTTP_MTOM")) { return SOAPBinding.SOAP11HTTP_MTOM_BINDING; } else if (lexical.equals("##SOAP12_HTTP")) { return SOAPBinding.SOAP12HTTP_BINDING; } else if (lexical.equals("##SOAP12_HTTP_MTOM")) { return SOAPBinding.SOAP12HTTP_MTOM_BINDING; } else if (lexical.equals("##XML_HTTP")) { return HTTPBinding.HTTP_BINDING; } return lexical; }