swim.api.http.HttpDownlink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swim-api Show documentation
Show all versions of swim-api Show documentation
Uploads all artifacts belonging to configuration ':swim-api:archives'
// Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package swim.api.http;
import java.net.InetSocketAddress;
import java.security.Principal;
import java.security.cert.Certificate;
import java.util.Collection;
import swim.api.Link;
import swim.api.auth.Identity;
import swim.api.function.DidDisconnect;
import swim.api.function.DidFail;
import swim.api.http.function.DecodeResponseHttp;
import swim.api.http.function.DidRequestHttp;
import swim.api.http.function.DidRespondHttp;
import swim.api.http.function.DoRequestHttp;
import swim.api.http.function.WillRequestHttp;
import swim.api.http.function.WillRespondHttp;
import swim.uri.Uri;
public interface HttpDownlink extends Link {
@Override
Uri hostUri();
@Override
Uri nodeUri();
@Override
Uri laneUri();
@Override
boolean isConnected();
@Override
boolean isRemote();
@Override
boolean isSecure();
@Override
String securityProtocol();
@Override
String cipherSuite();
@Override
InetSocketAddress localAddress();
@Override
Identity localIdentity();
@Override
Principal localPrincipal();
@Override
Collection localCertificates();
@Override
InetSocketAddress remoteAddress();
@Override
Identity remoteIdentity();
@Override
Principal remotePrincipal();
@Override
Collection remoteCertificates();
DoRequestHttp> doRequest();
HttpDownlink doRequest(DoRequestHttp> doRequest);
WillRequestHttp> willRequest();
HttpDownlink willRequest(WillRequestHttp> willRequest);
DidRequestHttp> didRequest();
HttpDownlink didRequest(DidRequestHttp> didRequest);
DecodeResponseHttp decodeResponse();
HttpDownlink decodeResponse(DecodeResponseHttp decodeResponse);
WillRespondHttp willRespond();
HttpDownlink willRespond(WillRespondHttp willRespond);
DidRespondHttp didRespond();
HttpDownlink didRespond(DidRespondHttp didRespond);
DidDisconnect didDisconnect();
HttpDownlink didDisconnect(DidDisconnect didDisconnect);
DidFail didFail();
HttpDownlink didFail(DidFail didFail);
HttpDownlink delegate(Object delegate);
HttpDownlink open();
@Override
void close();
@Override
void trace(Object message);
@Override
void debug(Object message);
@Override
void info(Object message);
@Override
void warn(Object message);
@Override
void error(Object message);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy