/** * Returns an interpretation of the specified URL-encoded string, using the iso-8859-1 character set. * * @since 1.6 **/ public static String decode( String byteString ) { return decode( byteString, "iso-8859-1" ); }
/** * Returns an interpretation of the specified URL-encoded string, using the iso-8859-1 character set. * * @since 1.6 **/ public static String decode( String byteString ) { return decode( byteString, "iso-8859-1" ); }
/** * Returns an interpretation of the specified URL-encoded string, using the iso-8859-1 character set. * * @since 1.6 **/ public static String decode( String byteString ) { return decode( byteString, "iso-8859-1" ); }
private Hashtable readParameters( String content ) { Hashtable parameters = new Hashtable(); if (content == null || content.trim().length() == 0) return parameters; StringTokenizer st = new StringTokenizer( content, "&=" ); while (st.hasMoreTokens()) { String name = st.nextToken(); if (st.hasMoreTokens()) { addParameter( parameters, HttpUnitUtils.decode( name ), HttpUnitUtils.decode( st.nextToken() ) ); } } return parameters; }
private Hashtable readParameters( String content ) { Hashtable parameters = new Hashtable(); if (content == null || content.trim().length() == 0) return parameters; StringTokenizer st = new StringTokenizer( content, "&=" ); while (st.hasMoreTokens()) { String name = st.nextToken(); if (st.hasMoreTokens()) { addParameter( parameters, HttpUnitUtils.decode( name ), HttpUnitUtils.decode( st.nextToken() ) ); } } return parameters; }
private Hashtable readParameters( String content ) { Hashtable parameters = new Hashtable(); if (content == null || content.trim().length() == 0) return parameters; StringTokenizer st = new StringTokenizer( content, "&=" ); while (st.hasMoreTokens()) { String name = st.nextToken(); if (st.hasMoreTokens()) { addParameter( parameters, HttpUnitUtils.decode( name ), HttpUnitUtils.decode( st.nextToken() ) ); } } return parameters; }
/** * get the Path Information * @return the decode path */ public String getPathInfo() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getPathInfo( _fullServletPath )); }
/** * get the Path Information * @return the decode path */ public String getPathInfo() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getPathInfo( _fullServletPath )); }
/** * get the ServletPath * the decoded ServletPath */ public String getServletPath() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getServletPath( _fullServletPath )); }
/** * get the ServletPath * the decoded ServletPath */ public String getServletPath() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getServletPath( _fullServletPath )); }
/** * get the Path Information * @return the decode path */ public String getPathInfo() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getPathInfo( _fullServletPath )); }
/** * get the ServletPath * the decoded ServletPath */ public String getServletPath() { return _mapping == null ? null : HttpUnitUtils.decode(_mapping.getServletPath( _fullServletPath )); }
private String decode( String string ) { return HttpUnitUtils.decode( string, _baseResponse.getCharacterSet() ).trim(); }
private String decode( String string ) { return HttpUnitUtils.decode( string, _baseResponse.getCharacterSet() ).trim(); }
private String decode( String string ) { return HttpUnitUtils.decode( string, _baseResponse.getCharacterSet() ).trim(); }