com.hypersocket.json.ResourceStatusRedirect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypersocket-json-client Show documentation
Show all versions of hypersocket-json-client Show documentation
Implements a Java JSON client that can be used with to communicate with a Hypersocket Framework server
The newest version!
/**
* Copyright 2003-2020 JADAPTIVE Limited. All Rights Reserved.
*
* For product documentation visit https://www.jadaptive.com/
*
* This file is part of Hypersocket JSON Client.
*
* Hypersocket JSON Client is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Hypersocket JSON Client is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Hypersocket JSON Client. If not, see .
*/
package com.hypersocket.json;
public class ResourceStatusRedirect extends ResourceStatus {
private boolean redirect = false;
public ResourceStatusRedirect(String message) {
setSuccess(false);
setMessage(message);
setRedirect(true);
}
public boolean isRedirect() {
return redirect;
}
public void setRedirect(boolean redirect) {
this.redirect = redirect;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy