Changed folder structure of test classes and renamed some packages
This commit is contained in:
parent
ccd50ec104
commit
884c5d64c3
76 changed files with 5305 additions and 5375 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
package zutil.net.http;
|
||||
|
||||
import zutil.converters.Converter;
|
||||
import zutil.converter.Converter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
package zutil.net.http;
|
||||
|
||||
import zutil.converters.Converter;
|
||||
import zutil.converter.Converter;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package zutil.net.http.pages;
|
||||
package zutil.net.http.page;
|
||||
|
||||
import zutil.io.IOUtil;
|
||||
import zutil.io.file.FileUtil;
|
||||
2
src/zutil/net/nio/NioNetwork.java
Normal file → Executable file
2
src/zutil/net/nio/NioNetwork.java
Normal file → Executable file
|
|
@ -25,7 +25,7 @@
|
|||
package zutil.net.nio;
|
||||
|
||||
import zutil.Encrypter;
|
||||
import zutil.converters.Converter;
|
||||
import zutil.converter.Converter;
|
||||
import zutil.io.DynamicByteArrayStream;
|
||||
import zutil.io.MultiPrintStream;
|
||||
import zutil.log.LogUtil;
|
||||
|
|
|
|||
78
src/zutil/net/upnp/services/BrowseRetObj.java → src/zutil/net/upnp/service/BrowseRetObj.java
Normal file → Executable file
78
src/zutil/net/upnp/services/BrowseRetObj.java → src/zutil/net/upnp/service/BrowseRetObj.java
Normal file → Executable file
|
|
@ -1,39 +1,39 @@
|
|||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2015 Ziver Koc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package zutil.net.upnp.services;
|
||||
|
||||
import zutil.net.ws.WSReturnObject;
|
||||
|
||||
|
||||
public class BrowseRetObj extends WSReturnObject{
|
||||
@WSValueName("Result")
|
||||
public String Result;
|
||||
@WSValueName("NumberReturned")
|
||||
public int NumberReturned;
|
||||
@WSValueName("TotalMatches")
|
||||
public int TotalMatches;
|
||||
@WSValueName("UpdateID")
|
||||
public int UpdateID;
|
||||
}
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2015 Ziver Koc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package zutil.net.upnp.service;
|
||||
|
||||
import zutil.net.ws.WSReturnObject;
|
||||
|
||||
|
||||
public class BrowseRetObj extends WSReturnObject{
|
||||
@WSValueName("Result")
|
||||
public String Result;
|
||||
@WSValueName("NumberReturned")
|
||||
public int NumberReturned;
|
||||
@WSValueName("TotalMatches")
|
||||
public int TotalMatches;
|
||||
@WSValueName("UpdateID")
|
||||
public int UpdateID;
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package zutil.net.upnp.services;
|
||||
package zutil.net.upnp.service;
|
||||
|
||||
import org.dom4j.DocumentException;
|
||||
import zutil.io.file.FileUtil;
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
package zutil.net.ws.rest;
|
||||
|
||||
import zutil.converters.Converter;
|
||||
import zutil.converter.Converter;
|
||||
import zutil.io.StringOutputStream;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.net.http.HttpPage;
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ import org.dom4j.Element;
|
|||
import org.dom4j.io.OutputFormat;
|
||||
import org.dom4j.io.XMLWriter;
|
||||
import org.xml.sax.SAXException;
|
||||
import zutil.converters.Converter;
|
||||
import zutil.converter.Converter;
|
||||
import zutil.log.LogUtil;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.net.http.HttpPage;
|
||||
import zutil.net.http.HttpPrintStream;
|
||||
import zutil.net.ws.*;
|
||||
|
|
@ -113,7 +113,7 @@ public class SOAPHttpPage implements HttpPage{
|
|||
|
||||
|
||||
public void respond(HttpPrintStream out,
|
||||
HttpHeader headers,
|
||||
HttpHeader headers,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue