Java Socket Address Get createHttpFields(InetSocketAddress endpoint)

Here you can find the source of createHttpFields(InetSocketAddress endpoint)

Description

create Http Fields

License

Open Source License

Declaration

static ArrayList<String> createHttpFields(InetSocketAddress endpoint) 

Method Source Code

//package com.java2s;
// under the terms of the Eclipse Public License v1.0 which accompanies

import java.net.InetSocketAddress;

import java.util.ArrayList;

public class Main {
    static ArrayList<String> createHttpFields(InetSocketAddress endpoint) {
        ArrayList<String> fields = new ArrayList<String>();
        fields.add("Connection: Upgrade");
        return fields;
    }//w  w w.j  av a  2  s .com
}

Related

  1. compareAddresses(InetSocketAddress addr1, InetSocketAddress addr2)
  2. convertToHostString(SocketAddress hostAddress)
  3. create(SocketAddress address, SocketAddress port)
  4. createBoundServerSocket(final SocketAddress socketAddress)
  5. createClientSocket(InetSocketAddress site)
  6. createInetSocketAddress(String address)
  7. createInetSocketAddress(String ip, int port)
  8. describe(InetSocketAddress localAddress)
  9. encodedStringToInetSocketAddress(String str)