jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentTypeImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
60 if (charsetParam == null) { |
60 if (charsetParam == null) { |
61 String tmpCharset = null; |
61 String tmpCharset = null; |
62 try { |
62 try { |
63 internalContentType = new ContentType(contentType); |
63 internalContentType = new ContentType(contentType); |
64 tmpCharset = internalContentType.getParameter("charset"); |
64 tmpCharset = internalContentType.getParameter("charset"); |
|
65 rootId = internalContentType.getParameter("start"); |
65 } catch(Exception e) { |
66 } catch(Exception e) { |
66 //Ignore the parsing exception. |
67 //Ignore the parsing exception. |
67 } |
68 } |
68 charset = tmpCharset; |
69 charset = tmpCharset; |
69 } else { |
70 } else { |